Alertonotify hardening part 2
Some checks failed
Run nix flake check / flake-check (push) Failing after 3m58s
Some checks failed
Run nix flake check / flake-check (push) Failing after 3m58s
This commit is contained in:
parent
8e0b97c9e0
commit
16042b08c0
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
NATS_URL = "nats://nats1.home.2rjus.net:4222";
|
NATS_URL = "nats://nats1.home.2rjus.net:4222";
|
||||||
NATS_NKEY_FILE = "${config.sops.secrets.nats_nkey.path}";
|
NATS_NKEY_FILE = "%d/nats_nkey";
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
@ -31,6 +31,7 @@
|
|||||||
ProtectHome = "yes";
|
ProtectHome = "yes";
|
||||||
ProtectHostname = "yes";
|
ProtectHostname = "yes";
|
||||||
RestrictNamespace = "yes";
|
RestrictNamespace = "yes";
|
||||||
|
LoadCredential = "nats_nkey:/run/secrets/nats_nkey";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user