Files
frank-nix/hosts/shared/fs-layouts/single-disk-xfs.nix
T
floturcocantsee db0e5963e3
ci / check-flake (push) Successful in 1m40s
revert: reverted to abe998d787
2026-10-31 10:31:32 -04:00

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"; }
];
}