summaryrefslogtreecommitdiff
path: root/custom/uucp-mediaclient.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/uucp-mediaclient.nix')
-rw-r--r--custom/uucp-mediaclient.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix
index a9a3477c..42fa0246 100644
--- a/custom/uucp-mediaclient.nix
+++ b/custom/uucp-mediaclient.nix
@@ -85,7 +85,7 @@ in {
85 services.uucp.commandPath = [ "${recv-media}/bin" ]; 85 services.uucp.commandPath = [ "${recv-media}/bin" ];
86 services.uucp.remoteNodes = genAttrs cfg.remoteNodes (name: { commands = ["recv-media"]; } ); 86 services.uucp.remoteNodes = genAttrs cfg.remoteNodes (name: { commands = ["recv-media"]; } );
87 87
88 services.notify-users = mkIf (cfg.notify.users != []) cfg.notify.users; 88 assertions = map (user: { assertion = elem user config.services.notify-users; message = "Notification must be allowed for ${user}!"; }) (unique cfg.notify.users);
89 }; 89 };
90} 90}
91 91