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.

35 lines
765 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. size = "1M";
  11. type = "EF02";
  12. priority = 1;
  13. };
  14. root = {
  15. end = "-4GB";
  16. content = {
  17. type = "filesystem";
  18. format = "btrfs";
  19. mountpoint = "/";
  20. extraArgs = [ "-f" ];
  21. };
  22. };
  23. swap = {
  24. size = "100%";
  25. content = {
  26. type = "swap";
  27. randomEncryption = true;
  28. extraArgs = [ "-f" ];
  29. };
  30. };
  31. };
  32. };
  33. };
  34. };
  35. }