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.

42 lines
961 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. {
  2. disko.devices = {
  3. disk."system" = {
  4. device = "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:1:1:0";
  5. type = "disk";
  6. content = {
  7. type = "gpt";
  8. partitions = {
  9. ESP = {
  10. label = "ESP";
  11. start = "1MiB";
  12. size = "100MiB";
  13. type = "EF00";
  14. content = {
  15. type = "filesystem";
  16. format = "vfat";
  17. mountpoint = "/boot";
  18. };
  19. };
  20. root = {
  21. label = "primary";
  22. start = "100MiB";
  23. end = "-4GB";
  24. content = {
  25. type = "filesystem";
  26. format = "btrfs";
  27. mountpoint = "/";
  28. };
  29. };
  30. swap = {
  31. label = "swap";
  32. end = "100%";
  33. content = {
  34. type = "swap";
  35. randomEncryption = true;
  36. };
  37. };
  38. };
  39. };
  40. };
  41. };
  42. }