diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:43:01 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 18:43:01 +0200 |
commit | 025e6322a66d53be8b9db8be9574df3a24cdb7ae (patch) | |
tree | 65112e54959d31d24580cd98cd4fe35c4aa0c9ec | |
parent | 68820134d984079dfc6815f84e34b2b749bf33c3 (diff) | |
download | nixos-025e6322a66d53be8b9db8be9574df3a24cdb7ae.tar nixos-025e6322a66d53be8b9db8be9574df3a24cdb7ae.tar.gz nixos-025e6322a66d53be8b9db8be9574df3a24cdb7ae.tar.bz2 nixos-025e6322a66d53be8b9db8be9574df3a24cdb7ae.tar.xz nixos-025e6322a66d53be8b9db8be9574df3a24cdb7ae.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 c07ad77d..5b74c1e0 100644 --- a/custom/uucp-notifyclient.nix +++ b/custom/uucp-notifyclient.nix | |||
@@ -31,7 +31,7 @@ in { | |||
31 | config = mkIf (cfg.remoteNodes != {}) { | 31 | config = mkIf (cfg.remoteNodes != {}) { |
32 | services.notify-users = concatMap ({ allowedUsers }: allowedUsers) cfg.remoteNodes; | 32 | services.notify-users = concatMap ({ 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 ]; |
36 | }; | 36 | }; |
37 | } | 37 | } |