summaryrefslogtreecommitdiff
path: root/machines/dragon.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-05-16 20:33:06 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-05-16 20:34:48 -0400
commit8b1d1e6f4aabca3bf78b3f578834443021c9a061 (patch)
treefae34cebbf05783de343f6aeb1233da7af843fdc /machines/dragon.nix
parentdc3b68387864e6af9038c704d4b229d3533005ca (diff)
fix
Diffstat (limited to 'machines/dragon.nix')
-rw-r--r--machines/dragon.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix
index 3a5e8ba..a97199d 100644
--- a/machines/dragon.nix
+++ b/machines/dragon.nix
@@ -139,6 +139,13 @@ in {
"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."/home" = {
+ 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"
+ ];
+ };
swapDevices = [ { label = "swap"; } ];