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.

53 lines
1.2 KiB

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:01:00.0-scsi-0:1:1:0";
  5. type = "disk";
  6. content = {
  7. type = "table";
  8. format = "gpt";
  9. partitions = [
  10. {
  11. index = 1;
  12. name = "root";
  13. start = "100MiB";
  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. index = 3;
  38. name = "ESP";
  39. start = "1MiB";
  40. end = "100MiB";
  41. fs-type = "fat32";
  42. bootable = true;
  43. content = {
  44. type = "filesystem";
  45. format = "vfat";
  46. mountpoint = "/boot";
  47. };
  48. }
  49. ];
  50. };
  51. };
  52. };
  53. }