summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-08-22 19:59:05 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-08-22 19:59:10 -0400
commita11655b2ca439a5049b5623154ef62e50da1b870 (patch)
tree6c316d275122f016eb86e6ff5e141fa6a9abe008 /machines
parent77689750997baa7c216862065b2ec3dbd4d63724 (diff)
fixes
Diffstat (limited to 'machines')
-rw-r--r--machines/dragon.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 55be481..7c2a4bd 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -131,13 +131,18 @@ in {
"noatime,discard"
];
};
- fileSystems."/storage" = {
+ fileSystems."/mnt/storage-old" = {
device = "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X-part3";
fsType = "btrfs";
options = [
"subvol=storage,device=/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKHV0LS-part3,device=/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X-part3,noatime,discard"
];
};
+ fileSystems."/storage" = {
+ device = "/dev/disk/by-label/storage-ssd";
+ fsType = "btrfs";
+ options = ["discard=async"];
+ };
fileSystems."/home" = {
device = "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X-part3";
fsType = "btrfs";