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
805 B

1 year ago
  1. { ... }:
  2. {
  3. disko.devices = {
  4. disk.sda = {
  5. device = "/dev/sda";
  6. type = "disk";
  7. content = {
  8. type = "table";
  9. format = "gpt";
  10. partitions = [
  11. {
  12. name = "root";
  13. start = "100MiB";
  14. end = "100%";
  15. part-type = "primary";
  16. bootable = true;
  17. content = {
  18. type = "filesystem";
  19. format = "btrfs";
  20. mountpoint = "/";
  21. };
  22. }
  23. {
  24. name = "ESP";
  25. start = "1MiB";
  26. end = "100MiB";
  27. bootable = true;
  28. content = {
  29. type = "filesystem";
  30. format = "vfat";
  31. mountpoint = "/boot";
  32. };
  33. }
  34. ];
  35. };
  36. };
  37. };
  38. }