From aaac02f6c47f509f9371be3b844c45ef779439b1 Mon Sep 17 00:00:00 2001 From: Bjørn Forsman Date: Wed, 15 Feb 2017 08:25:59 +0100 Subject: nixos/atd: unbreak after new security.wrappers * convert list -> attrset * 'atd' doesn't exist, 'at' does --- nixos/modules/services/scheduling/atd.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nixos/modules/services/scheduling/atd.nix') diff --git a/nixos/modules/services/scheduling/atd.nix b/nixos/modules/services/scheduling/atd.nix index f3ada6b7496a..0216c9771c96 100644 --- a/nixos/modules/services/scheduling/atd.nix +++ b/nixos/modules/services/scheduling/atd.nix @@ -42,13 +42,14 @@ in config = mkIf cfg.enable { - security.wrappers = map (program: {"${program}" = { - source = "${pkgs.atd}/bin/${program}"; + security.wrappers = builtins.listToAttrs ( + map (program: { name = "${program}"; value = { + source = "${at}/bin/${program}"; owner = "atd"; group = "atd"; setuid = true; setgid = true; - };}) [ "at" "atq" "atrm" "batch" ]; + };}) [ "at" "atq" "atrm" "batch" ]); environment.systemPackages = [ at ]; -- cgit 1.4.1