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.
38 lines
848 B
38 lines
848 B
{
|
|
disko.devices = {
|
|
disk."system" = {
|
|
device = "/dev/disk/by-path/pci-0000:00:11.0-ata-1";
|
|
type = "disk";
|
|
content = {
|
|
type = "gpt";
|
|
partitions = {
|
|
boot = {
|
|
label = "ESP";
|
|
size = "1M";
|
|
type = "EF02";
|
|
priority = 1;
|
|
};
|
|
root = {
|
|
label = "root";
|
|
end = "-4GB";
|
|
content = {
|
|
type = "filesystem";
|
|
format = "btrfs";
|
|
mountpoint = "/";
|
|
extraArgs = [ "-f" ];
|
|
};
|
|
};
|
|
swap = {
|
|
label = "swap";
|
|
size = "100%";
|
|
content = {
|
|
type = "swap";
|
|
randomEncryption = true;
|
|
extraArgs = [ "-f" ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|