summaryrefslogtreecommitdiff
path: root/custom/uucp-notifyclient.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/uucp-notifyclient.nix')
-rw-r--r--custom/uucp-notifyclient.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/uucp-notifyclient.nix b/custom/uucp-notifyclient.nix
index c07ad77d..5b74c1e0 100644
--- a/custom/uucp-notifyclient.nix
+++ b/custom/uucp-notifyclient.nix
@@ -31,7 +31,7 @@ in {
31 config = mkIf (cfg.remoteNodes != {}) { 31 config = mkIf (cfg.remoteNodes != {}) {
32 services.notify-users = concatMap ({ allowedUsers }: allowedUsers) cfg.remoteNodes; 32 services.notify-users = concatMap ({ allowedUsers }: allowedUsers) cfg.remoteNodes;
33 33
34 services.uucp.remoteNodes = mapAttrs (name: { allowedUsers }: { commands = map (user: "notify-${user}") allowedUsers; }) cfg.remoteNodes; 34 services.uucp.remoteNodes = mapAttrs (name: { allowedUsers, ... }: { commands = map (user: "notify-${user}") allowedUsers; }) cfg.remoteNodes;
35 services.uucp.commandPath = [ config.security.wrapperDir ]; 35 services.uucp.commandPath = [ config.security.wrapperDir ];
36 }; 36 };
37} 37}