diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:48:03 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:48:03 +0200 |
commit | 30758fb2e29a4c39bf9a825acfb3ba1a11be3dcc (patch) | |
tree | dbb741327293913332d1350cd1ada49cf33c72cf /custom | |
parent | 0f74cabce6ba9ef915547f1af1934b726cfd002e (diff) | |
download | nixos-30758fb2e29a4c39bf9a825acfb3ba1a11be3dcc.tar nixos-30758fb2e29a4c39bf9a825acfb3ba1a11be3dcc.tar.gz nixos-30758fb2e29a4c39bf9a825acfb3ba1a11be3dcc.tar.bz2 nixos-30758fb2e29a4c39bf9a825acfb3ba1a11be3dcc.tar.xz nixos-30758fb2e29a4c39bf9a825acfb3ba1a11be3dcc.zip |
...
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 bb245ef0..e99bae3f 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 (name: { allowedUsers, ... }: allowedUsers) cfg.remoteNodes); | 32 | services.notify-users = concatLists (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 ]; |