From 3abe061a3c3755daf58f2c68bffd5eab23314020 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 14:43:31 +0200 Subject: no optional --- custom/uucp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/uucp.nix b/custom/uucp.nix index 46e6c76f..1cd06800 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -199,6 +199,6 @@ in { uucp ]; - services.cron.systemCronJobs = (map (name: "${config.services.uucp.interval} root /var/setuid-wrappers/uucico -D -s ${name}") (optional (config.services.uucp.interval != null) config.services.uucp.remoteNodes)); + services.cron.systemCronJobs = (map (name: "${config.services.uucp.interval} root /var/setuid-wrappers/uucico -D -s ${name}") (if (config.services.uucp.interval != null) then config.services.uucp.remoteNodes else [])); }; } -- cgit v1.2.3