From bd39299bc981ff9744b8e693edfe1614e3674712 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jun 2018 18:01:20 +0200 Subject: ... --- custom/uucp-mediaclient.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix index aa53987c..f5699749 100644 --- a/custom/uucp-mediaclient.nix +++ b/custom/uucp-mediaclient.nix @@ -77,7 +77,7 @@ in { }; }; - imports = mkIf (cfg.notify.users != []) [ ./custom/notify-users.nix ]; + imports = optional (cfg.notify.users != []) ./notify-users.nix ; config = mkIf (cfg.remoteNodes != []) { services.uucp.commandPath = [ "${recv-media}/bin" ]; -- cgit v1.2.3