diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:46:00 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:46:00 +0200 |
commit | 0f74cabce6ba9ef915547f1af1934b726cfd002e (patch) | |
tree | faa5e8ab05ea4d52d29125c314d2ed4bb98223d3 | |
parent | 9e8b1443806cf8e9eb004853b1547a5cc0c0d316 (diff) | |
download | nixos-0f74cabce6ba9ef915547f1af1934b726cfd002e.tar nixos-0f74cabce6ba9ef915547f1af1934b726cfd002e.tar.gz nixos-0f74cabce6ba9ef915547f1af1934b726cfd002e.tar.bz2 nixos-0f74cabce6ba9ef915547f1af1934b726cfd002e.tar.xz nixos-0f74cabce6ba9ef915547f1af1934b726cfd002e.zip |
...
-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 ]; |