nixos/atd: unbreak after new security.wrappers

* convert list -> attrset
* 'atd' doesn't exist, 'at' does
This commit is contained in:
Bjørn Forsman 2017-02-15 08:25:59 +01:00
parent b1bfe9d3db
commit aaac02f6c4

View File

@ -42,13 +42,14 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
security.wrappers = map (program: {"${program}" = { security.wrappers = builtins.listToAttrs (
source = "${pkgs.atd}/bin/${program}"; map (program: { name = "${program}"; value = {
source = "${at}/bin/${program}";
owner = "atd"; owner = "atd";
group = "atd"; group = "atd";
setuid = true; setuid = true;
setgid = true; setgid = true;
};}) [ "at" "atq" "atrm" "batch" ]; };}) [ "at" "atq" "atrm" "batch" ]);
environment.systemPackages = [ at ]; environment.systemPackages = [ at ];