aboutsummaryrefslogtreecommitdiff
path: root/modules/apps/icinga2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps/icinga2.nix')
-rw-r--r--modules/apps/icinga2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apps/icinga2.nix b/modules/apps/icinga2.nix
index 6df18fc..e236bf4 100644
--- a/modules/apps/icinga2.nix
+++ b/modules/apps/icinga2.nix
@@ -339,7 +339,7 @@ in {
];
nixsap.system.users.daemons = [ cfg.user ];
nixsap.system.groups = [ cfg.commandGroup ];
- nixsap.deployment.keyrings.${cfg.user} = filter (hasPrefix "/run/keys/") cfg.configFiles;
+ nixsap.deployment.keyrings.${cfg.user} = filter (hasPrefix config.nixsap.deployment.keyStore) cfg.configFiles;
users.users.${cfg.user}.extraGroups = [ "proc" ];
systemd.services.icinga2 = {
description = "Icinga2 daemon";