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.

39 lines
875 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:01:00.0-scsi-0:1:1:0";
  5. type = "disk";
  6. content = {
  7. type = "gpt";
  8. partitions = {
  9. ESP = {
  10. start = "1MiB";
  11. size = "100MiB";
  12. type = "EF00";
  13. content = {
  14. type = "filesystem";
  15. format = "vfat";
  16. mountpoint = "/boot";
  17. };
  18. };
  19. root = {
  20. start = "100MiB";
  21. end = "-4GB";
  22. content = {
  23. type = "filesystem";
  24. format = "btrfs";
  25. mountpoint = "/";
  26. };
  27. };
  28. swap = {
  29. end = "100%";
  30. content = {
  31. type = "swap";
  32. randomEncryption = true;
  33. };
  34. };
  35. };
  36. };
  37. };
  38. };
  39. }