summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/dragon.nix22
1 files changed, 7 insertions, 15 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 7523372..67e3d87 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -131,26 +131,18 @@ in {
"noatime,discard"
];
};
- 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" = {
+ # fileSystems."/mnt/storage-old" = {
# device = "/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X-part3";
# fsType = "btrfs";
# options = [
- # "subvol=system/dragon-home,device=/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKHV0LS-part3,device=/dev/disk/by-id/ata-HGST_HDN724040ALE640_PK1334PCKEXU9X-part3,noatime,discard"
+ # "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"];
+ };
swapDevices = [ { label = "swap"; } ];
nix.settings.trusted-users = [ "builder" ];