Modularize drives further

This commit is contained in:
DashieTM 2024-08-24 14:41:42 +02:00
parent c49948ad7b
commit 252fcce589
2 changed files with 47 additions and 21 deletions

View file

@ -87,23 +87,4 @@ in {
password = "firstlogin";
};
fileSystems."/" = {
device = "/dev/disk/by-label/ROOT";
fsType = "btrfs";
options = [ "noatime" "nodiratime" "discard" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = [ "rw" "fmask=0022" "dmask=0022" "noatime" ];
};
fileSystems."/home" = {
device = "/dev/disk/by-label/HOME";
fsType = "btrfs";
options = [ "noatime" "nodiratime" "discard" ];
};
swapDevices = [{ device = "/dev/disk/by-label/SWAP"; }];
}