fix: moved munge.key to not be a symlinked file
Some checks failed
ci / treefmt (push) Failing after 31s

This commit is contained in:
Ceferino Patino 2026-07-03 11:33:43 -05:00
commit 70f130ee0b
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -97,7 +97,10 @@ in {
extraConfigPaths = [(inputs.dotfiles + "/slurm/config")];
};
munge.enable = true;
munge = {
enable = true;
password = config.sops.secrets."munge-key".path;
};
};
systemd.services.slurmctld = mkIf (builtins.elem hostName cfg.controlHosts) {
@ -116,7 +119,6 @@ in {
"munge-key" = {
sopsFile = "${inputs.self}/secrets/sops/munge.key";
format = "binary";
path = "/etc/munge/munge.key";
owner = munge.name;
group = munge.group;
mode = "0400";
@ -126,6 +128,7 @@ in {
${namespace}.services.storage.impermanence.folders = [
(mkPersistDir config "slurm" "/var/spool/slurmctld")
(mkPersistDir config "slurm" "/var/spool/slurmd")
(mkPersistDir config "munge" "/var/lib/munge")
];
};
}