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.

35 lines
637 B

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