summary refs log tree commit diff
path: root/nixos/modules/services/scheduling
diff options
context:
space:
mode:
authorParnell Springmeyer <parnell@digitalmentat.com>2017-01-29 01:58:12 -0600
committerParnell Springmeyer <parnell@digitalmentat.com>2017-01-29 01:58:12 -0600
commita8cb2afa981099889cf47185be33f4a831ff482b (patch)
tree21fd0eab3bcd7122c64eb329adf2250f7660b94b /nixos/modules/services/scheduling
parentaf3b9a3d46672232d70e4ab6a45f00e10363bfae (diff)
downloadnixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.gz
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.bz2
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.lz
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.xz
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.tar.zst
nixpkgs-a8cb2afa981099889cf47185be33f4a831ff482b.zip
Fixing a bunch of issues
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r--nixos/modules/services/scheduling/atd.nix4
-rw-r--r--nixos/modules/services/scheduling/cron.nix2
2 files changed, 2 insertions, 4 deletions
diff --git a/nixos/modules/services/scheduling/atd.nix b/nixos/modules/services/scheduling/atd.nix
index 316ab847b34..7b4937b5c67 100644
--- a/nixos/modules/services/scheduling/atd.nix
+++ b/nixos/modules/services/scheduling/atd.nix
@@ -42,9 +42,7 @@ in
 
   config = mkIf cfg.enable {
 
-    security.wrappers.setuid = map (program: {
-      inherit program;
-
+    security.wrappers.setuid = map (program: "${program}" = {
       source = "${pkgs.atd}/bin/${program}";
       owner = "atd";
       group = "atd";
diff --git a/nixos/modules/services/scheduling/cron.nix b/nixos/modules/services/scheduling/cron.nix
index 26ce3c98d67..7bd1e481804 100644
--- a/nixos/modules/services/scheduling/cron.nix
+++ b/nixos/modules/services/scheduling/cron.nix
@@ -61,7 +61,7 @@ in
           A list of Cron jobs to be appended to the system-wide
           crontab.  See the manual page for crontab for the expected
           format. If you want to get the results mailed you must setuid
-          sendmail. See <option>security.wrappers.setuid</option>
+          sendmail. See <option>security.wrappers</option>
 
           If neither /var/cron/cron.deny nor /var/cron/cron.allow exist only root
           will is allowed to have its own crontab file. The /var/cron/cron.deny file