{ pkgs, config, lib, ... }: with lib; let connAuth = toString (pkgs.writeText "beegfs-conn-auth" "asdasdasdasd"); # connAuth = ${config.sops.secrets."beegfs/connection".path} in { nixpkgs.config.allowUnfree = true; hpc.beegfs = { connAuthFile = connAuth; mgmtdHost = "manager.hpc.informatik.hs-fulda.de"; client = { enable = true; mountPoint = "/projects"; }; mgmtd.enable = true; meta.enable = true; storage.enable = true; }; sops.secrets."beegfs/connection" = { sopsFile = ../../shared/secrets.yaml; }; }