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

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. {
  2. disko.devices = {
  3. disk."system" = {
  4. device = "/dev/disk/by-path/pci-0000:00:11.0-ata-1";
  5. type = "disk";
  6. content = {
  7. type = "gpt";
  8. partitions = {
  9. boot = {
  10. label = "ESP";
  11. size = "1M";
  12. type = "EF02";
  13. priority = 1;
  14. };
  15. root = {
  16. label = "root";
  17. end = "-4GB";
  18. content = {
  19. type = "filesystem";
  20. format = "btrfs";
  21. mountpoint = "/";
  22. extraArgs = [ "-f" ];
  23. };
  24. };
  25. swap = {
  26. label = "swap";
  27. size = "100%";
  28. content = {
  29. type = "swap";
  30. randomEncryption = true;
  31. extraArgs = [ "-f" ];
  32. };
  33. };
  34. };
  35. };
  36. };
  37. };
  38. }