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.
 
 
 

47 lines
1.1 KiB

{
disko.devices = {
disk."system" = {
device = "/dev/disk/by-path/pci-0000:00:11.0-ata-1";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "boot";
start = "0";
end = "1M";
part-type = "primary";
flags = [ "bios_grub" ];
}
{
name = "root";
start = "1MB";
end = "-4GB";
part-type = "primary";
fs-type = "btrfs";
bootable = true;
content = {
type = "filesystem";
format = "btrfs";
mountpoint = "/";
extraArgs = [ "-f" ];
};
}
{
name = "swap";
start = "-4G";
end = "100%";
part-type = "primary";
fs-type = "linux-swap";
content = {
type = "swap";
randomEncryption = true;
extraArgs = [ "-f" ];
};
}
];
};
};
};
}