mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-25 08:09:08 +02:00
20 lines
397 B
Nix
20 lines
397 B
Nix
{ ... }: {
|
|
flake.nixosModules.disks-sys-singledisk = {
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-label/root";
|
|
fsType = "xfs";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-label/boot";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
};
|
|
|
|
swapDevices = [{
|
|
device = "/var/lib/swapfile";
|
|
size = 16 * 1024;
|
|
}];
|
|
};
|
|
}
|