mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
nixos/atd: unbreak after new security.wrappers
* convert list -> attrset * 'atd' doesn't exist, 'at' does
This commit is contained in:
parent
b1bfe9d3db
commit
aaac02f6c4
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user