From 9940ddd93ff9c10e98d1b06f6fdc8d1810eb0ee3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 14:43:07 +0200 Subject: syntax? --- custom/uucp.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom/uucp.nix b/custom/uucp.nix index 86ef232c..46e6c76f 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -199,7 +199,6 @@ in { uucp ]; - services.cron.systemCronJobs = optional (config.services.uucp.interval != null) - (map (name: "${config.services.uucp.interval} root /var/setuid-wrappers/uucico -D -s ${name}") config.services.uucp.remoteNodes); + 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)); }; } -- cgit v1.2.3