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.
40 lines
914 B
40 lines
914 B
{
|
|
disko.devices = {
|
|
disk."system" = {
|
|
device = "/dev/disk/by-path/pci-0000:00:11.0-ata-1";
|
|
type = "disk";
|
|
content = {
|
|
type = "table";
|
|
format = "msdos";
|
|
partitions = [
|
|
{
|
|
index = 1;
|
|
name = "root";
|
|
start = "1MB";
|
|
end = "-4GB";
|
|
part-type = "primary";
|
|
fs-type = "btrfs";
|
|
bootable = true;
|
|
content = {
|
|
type = "filesystem";
|
|
format = "btrfs";
|
|
mountpoint = "/";
|
|
};
|
|
}
|
|
{
|
|
index = 2;
|
|
name = "swap";
|
|
start = "-4G";
|
|
end = "100%";
|
|
part-type = "primary";
|
|
fs-type = "linux-swap";
|
|
content = {
|
|
type = "swap";
|
|
randomEncryption = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|