summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-27 14:43:31 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-27 14:43:31 +0200
commit3abe061a3c3755daf58f2c68bffd5eab23314020 (patch)
tree306e374e0e86f466c64c45efa9ea63bb1f79462d /custom
parent9940ddd93ff9c10e98d1b06f6fdc8d1810eb0ee3 (diff)
downloadnixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar
nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar.gz
nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar.bz2
nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar.xz
nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.zip
no optional
Diffstat (limited to 'custom')
-rw-r--r--custom/uucp.nix2
1 files changed, 1 insertions, 1 deletions
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 {
199 uucp 199 uucp
200 ]; 200 ];
201 201
202 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)); 202 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 []));
203 }; 203 };
204} 204}