From 68820134d984079dfc6815f84e34b2b749bf33c3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jun 2018 18:41:53 +0200 Subject: ... --- custom/uucp-notifyclient.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/uucp-notifyclient.nix b/custom/uucp-notifyclient.nix index 65c96c07..c07ad77d 100644 --- a/custom/uucp-notifyclient.nix +++ b/custom/uucp-notifyclient.nix @@ -28,7 +28,7 @@ in { imports = [ ./notify-users.nix ]; - config = mkIf (cfg.nodes != {}) { + config = mkIf (cfg.remoteNodes != {}) { services.notify-users = concatMap ({ allowedUsers }: allowedUsers) cfg.remoteNodes; services.uucp.remoteNodes = mapAttrs (name: { allowedUsers }: { commands = map (user: "notify-${user}") allowedUsers; }) cfg.remoteNodes; -- cgit v1.2.3