NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
765 B

{
disko.devices = {
disk."system" = {
device = "/dev/disk/by-path/pci-0000:00:11.0-ata-1";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
priority = 1;
};
root = {
end = "-4GB";
content = {
type = "filesystem";
format = "btrfs";
mountpoint = "/";
extraArgs = [ "-f" ];
};
};
swap = {
size = "100%";
content = {
type = "swap";
randomEncryption = true;
extraArgs = [ "-f" ];
};
};
};
};
};
};
}