From 5e3147d75c4801cebbada0b4c64b4d253074031a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jun 2018 18:50:22 +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 a14a6531..2297d675 100644 --- a/custom/uucp-notifyclient.nix +++ b/custom/uucp-notifyclient.nix @@ -29,7 +29,7 @@ in { imports = [ ./notify-users.nix ]; config = mkIf (cfg.remoteNodes != {}) { - assertions = map (user: { assertion = elem user config.services.notify-users; message = "Notification must be allowed for ${user}!"; }) (concatLists (mapAttrsToList (name: { allowedUsers }: allowedUsers) cfg.remoteNodes)); + assertions = map (user: { assertion = elem user config.services.notify-users; message = "Notification must be allowed for ${user}!"; }) (concatLists (mapAttrsToList (name: { allowedUsers, ... }: allowedUsers) cfg.remoteNodes)); services.uucp.remoteNodes = mapAttrs (name: { allowedUsers, ... }: { commands = map (user: "notify-${user}") allowedUsers; }) cfg.remoteNodes; services.uucp.commandPath = [ config.security.wrapperDir ]; -- cgit v1.2.3