diff options
Diffstat (limited to 'nixos/tests/slurm.nix')
-rw-r--r-- | nixos/tests/slurm.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix index a54c5d9db482..97e031a62793 100644 --- a/nixos/tests/slurm.nix +++ b/nixos/tests/slurm.nix @@ -86,14 +86,16 @@ in { dbd = { pkgs, ... } : - { + let + passFile = pkgs.writeText "dbdpassword" "password123"; + in { networking.firewall.enable = false; systemd.tmpfiles.rules = [ "f /etc/munge/munge.key 0400 munge munge - mungeverryweakkeybuteasytointegratoinatest" ]; services.slurm.dbdserver = { enable = true; - storagePass = "password123"; + storagePassFile = "${passFile}"; }; services.mysql = { enable = true; |