2024-05-04 23:15:57 +03:00
|
|
|
# I use the same layout on all hosts with GPT labels.
|
|
|
|
# This way I can configure system's FS in one place here.
|
2024-03-04 00:34:39 +03:00
|
|
|
{ ... }: {
|
|
|
|
fileSystems."/" = {
|
2024-04-11 12:29:24 +03:00
|
|
|
device = "/dev/disk/by-partlabel/NIXROOT";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "noatime" ];
|
2024-03-04 00:34:39 +03:00
|
|
|
};
|
2024-05-04 23:15:57 +03:00
|
|
|
|
2024-03-04 00:34:39 +03:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-partlabel/NIXBOOT";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2024-06-24 01:37:19 +03:00
|
|
|
|
|
|
|
# /etc overlay.
|
|
|
|
# boot.initrd.systemd.enable = true;
|
|
|
|
# systemd.sysusers.enable = true;
|
|
|
|
# system.etc.overlay = {
|
|
|
|
# enable = true;
|
|
|
|
# mutable = false;
|
|
|
|
# };
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|