summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-06-02 18:41:53 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-06-02 18:41:53 +0200
commit68820134d984079dfc6815f84e34b2b749bf33c3 (patch)
tree1c61d6d103d18ace8f7fd823336b6800673dcff3 /custom
parent2f26f35880d5a25ebce00e447cda41a2018bf77c (diff)
downloadnixos-68820134d984079dfc6815f84e34b2b749bf33c3.tar
nixos-68820134d984079dfc6815f84e34b2b749bf33c3.tar.gz
nixos-68820134d984079dfc6815f84e34b2b749bf33c3.tar.bz2
nixos-68820134d984079dfc6815f84e34b2b749bf33c3.tar.xz
nixos-68820134d984079dfc6815f84e34b2b749bf33c3.zip
...
Diffstat (limited to 'custom')
-rw-r--r--custom/uucp-notifyclient.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/uucp-notifyclient.nix b/custom/uucp-notifyclient.nix
index 65c96c07..c07ad77d 100644
--- a/custom/uucp-notifyclient.nix
+++ b/custom/uucp-notifyclient.nix
@@ -28,7 +28,7 @@ in {
28 28
29 imports = [ ./notify-users.nix ]; 29 imports = [ ./notify-users.nix ];
30 30
31 config = mkIf (cfg.nodes != {}) { 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;