Alertonotify hardening part 2
Some checks failed
Run nix flake check / flake-check (push) Failing after 3m58s

This commit is contained in:
Torjus Håkestad 2025-05-18 15:20:00 +02:00
parent 8e0b97c9e0
commit 16042b08c0
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -13,7 +13,7 @@
environment = {
NATS_URL = "nats://nats1.home.2rjus.net:4222";
NATS_NKEY_FILE = "${config.sops.secrets.nats_nkey.path}";
NATS_NKEY_FILE = "%d/nats_nkey";
};
serviceConfig = {
@ -31,6 +31,7 @@
ProtectHome = "yes";
ProtectHostname = "yes";
RestrictNamespace = "yes";
LoadCredential = "nats_nkey:/run/secrets/nats_nkey";
};
};
}