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.

38 lines
667 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. { pkgs, config, modulesPath, ... }:
  2. {
  3. imports = [
  4. ./network.nix
  5. ./users.nix
  6. ./ssh.nix
  7. "${modulesPath}/profiles/headless.nix"
  8. "${modulesPath}/profiles/all-hardware.nix"
  9. ];
  10. sops = {
  11. defaultSopsFile = ../secrets.yaml;
  12. defaultSopsFormat = "yaml";
  13. age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
  14. };
  15. gather = {
  16. target = part: "gathered/${config.networking.hostName}/${part}";
  17. root = ../.;
  18. };
  19. time.timeZone = "Europe/Berlin";
  20. console.keyMap = "de";
  21. environment.systemPackages = with pkgs; [
  22. vim
  23. wget
  24. curl
  25. tmux
  26. ];
  27. services.haveged.enable = true;
  28. system.stateVersion = "22.11";
  29. }