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-10-11 23:27:07 +03:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-partlabel/NIXROOT";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "noatime" ];
|
|
|
|
};
|
2024-05-04 23:15:57 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-partlabel/NIXBOOT";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2024-06-24 01:37:19 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
# /etc overlay.
|
|
|
|
# ISSUE: Should be fixed when you read this. Try it!
|
|
|
|
# boot.initrd.systemd.enable = true;
|
|
|
|
# systemd.sysusers.enable = true;
|
|
|
|
# system.etc.overlay = {
|
|
|
|
# enable = true;
|
|
|
|
# mutable = false;
|
|
|
|
# };
|
2024-03-04 00:34:39 +03:00
|
|
|
}
|