diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-27 14:43:31 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-04-27 14:43:31 +0200 |
commit | 3abe061a3c3755daf58f2c68bffd5eab23314020 (patch) | |
tree | 306e374e0e86f466c64c45efa9ea63bb1f79462d | |
parent | 9940ddd93ff9c10e98d1b06f6fdc8d1810eb0ee3 (diff) | |
download | nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar.gz nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar.bz2 nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.tar.xz nixos-3abe061a3c3755daf58f2c68bffd5eab23314020.zip |
no optional
-rw-r--r-- | custom/uucp.nix | 2 |
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 | } |