28 lines
499 B
Nix
28 lines
499 B
Nix
{ _, ... }:
|
|
{
|
|
# REQUIRED PARTLABELS (can be set in parted or other tools NOT!!! FILESYSTEM LABEL!)
|
|
# / - NIXOS
|
|
# /boot - ESP
|
|
# swap - SWAP
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-partlabel/NIXOS";
|
|
fsType = "xfs";
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-partlabel/ESP";
|
|
fsType = "vfat";
|
|
options = [
|
|
"fmask=0077"
|
|
"dmask=0077"
|
|
];
|
|
};
|
|
};
|
|
|
|
swapDevices = [
|
|
{ device = "/dev/disk/by-partlabel/SWAP"; }
|
|
];
|
|
}
|