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

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 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 = "table";
  8. format = "msdos";
  9. partitions = [
  10. {
  11. index = 1;
  12. name = "root";
  13. start = "1MB";
  14. end = "-4GB";
  15. part-type = "primary";
  16. fs-type = "btrfs";
  17. bootable = true;
  18. content = {
  19. type = "filesystem";
  20. format = "btrfs";
  21. mountpoint = "/";
  22. };
  23. }
  24. {
  25. index = 2;
  26. name = "swap";
  27. start = "-4G";
  28. end = "100%";
  29. part-type = "primary";
  30. fs-type = "linux-swap";
  31. content = {
  32. type = "swap";
  33. randomEncryption = true;
  34. };
  35. }
  36. ];
  37. };
  38. };
  39. };
  40. }