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.
 
 
 

39 lines
875 B

{
disko.devices = {
disk."system" = {
device = "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:1:1:0";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
start = "1MiB";
size = "100MiB";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
start = "100MiB";
end = "-4GB";
content = {
type = "filesystem";
format = "btrfs";
mountpoint = "/";
};
};
swap = {
end = "100%";
content = {
type = "swap";
randomEncryption = true;
};
};
};
};
};
};
}