mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 20:24:34 +00:00
Auto-mount btrfs root on voyager
This commit is contained in:
parent
17b444cda1
commit
5ebc43b05a
|
@ -46,6 +46,12 @@
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/.btrfs" =
|
||||||
|
{ device = "/dev/disk/by-label/NIXOS-FS";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "noatime" "compress=zstd:3" ];
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-label/SWAP"; }
|
[ { device = "/dev/disk/by-label/SWAP"; }
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue