18 lines
347 B
Nix
18 lines
347 B
Nix
# I use the same layout on all hosts with GPT labels.
|
|
# This way I can configure system's FS in one place here.
|
|
{ ... }: {
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-partlabel/NIXROOT";
|
|
fsType = "ext4";
|
|
options = [
|
|
"noatime"
|
|
];
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-partlabel/NIXBOOT";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
}
|