diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/uucp-notifyclient.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/uucp-notifyclient.nix b/custom/uucp-notifyclient.nix index 4cc51b9c..bb245ef0 100644 --- a/custom/uucp-notifyclient.nix +++ b/custom/uucp-notifyclient.nix | |||
@@ -29,7 +29,7 @@ in { | |||
29 | imports = [ ./notify-users.nix ]; | 29 | imports = [ ./notify-users.nix ]; |
30 | 30 | ||
31 | config = mkIf (cfg.remoteNodes != {}) { | 31 | config = mkIf (cfg.remoteNodes != {}) { |
32 | services.notify-users = concat (mapAttrsToList ({ allowedUsers, ... }: allowedUsers) cfg.remoteNodes); | 32 | services.notify-users = concat (mapAttrsToList (name: { 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 ]; |