add /boot

This commit is contained in:
Motiejus Jakštys 2024-07-31 00:04:07 +03:00
parent 1ae8bcb293
commit 77fd1e8d2c
1 changed files with 17 additions and 3 deletions

View File

@ -18,9 +18,23 @@ in
}; };
}; };
fileSystems."/" = { fileSystems = {
"/boot" = {
device = "${disk}-part1"; device = "${disk}-part1";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
"/" = {
device = "${disk}-part3";
fsType = "btrfs"; fsType = "btrfs";
options = [
"compress=zstd"
"noatime"
];
};
}; };
swapDevices = [ { device = "${disk}-part2"; } ]; swapDevices = [ { device = "${disk}-part2"; } ];