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

1 year ago
  1. { ... }:
  2. {
  3. disko.devices = {
  4. disk.sda = {
  5. device = "/dev/nvme0n1";
  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 = "ext4";
  20. #format = "btrfs";
  21. mountpoint = "/";
  22. };
  23. }
  24. {
  25. name = "ESP";
  26. start = "1MiB";
  27. end = "100MiB";
  28. bootable = true;
  29. content = {
  30. type = "filesystem";
  31. format = "vfat";
  32. mountpoint = "/boot";
  33. };
  34. }
  35. ];
  36. };
  37. };
  38. };
  39. }