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.

31 lines
574 B

1 year ago
  1. { pkgs, config, lib, ... }:
  2. with lib;
  3. let
  4. connAuth = toString (pkgs.writeText "beegfs-conn-auth" "asdasdasdasd");
  5. # connAuth = ${config.sops.secrets."beegfs/connection".path}
  6. in
  7. {
  8. nixpkgs.config.allowUnfree = true;
  9. hpc.beegfs = {
  10. connAuthFile = connAuth;
  11. mgmtdHost = "manager.hpc.informatik.hs-fulda.de";
  12. client = {
  13. enable = true;
  14. mountPoint = "/projects";
  15. };
  16. mgmtd.enable = true;
  17. meta.enable = true;
  18. storage.enable = true;
  19. };
  20. sops.secrets."beegfs/connection" = {
  21. sopsFile = ../../shared/secrets.yaml;
  22. };
  23. }