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

1 year ago
  1. { ... }:
  2. { lib, config, ... }:
  3. with lib;
  4. {
  5. imports = [
  6. ./disk.nix
  7. ./nfs.nix
  8. #./ldap.nix
  9. #./beegfs.nix
  10. #./ntp.nix
  11. #./gateway.nix
  12. #./autoinstall.nix
  13. #./cache.nix
  14. ];
  15. users.users."root".password = "asdasd123";
  16. virtualisation.useDefaultFilesystems = false;
  17. virtualisation.fileSystems."/" = {
  18. device = config.virtualisation.bootDevice;
  19. fsType = "btrfs";
  20. autoFormat = true;
  21. };
  22. deployment = {
  23. targetHost = "10.32.30.240";
  24. targetUser = "root";
  25. tags = [ "manager" ];
  26. };
  27. networking.hostName = "manager";
  28. }