treewide: use attrs instead of list for types.loaOf options
This commit is contained in:
@@ -86,7 +86,8 @@ in
|
||||
|
||||
services.fcron.systab = systemCronJobs;
|
||||
|
||||
environment.etc =
|
||||
environment.etc = listToAttrs
|
||||
(map (x: { name = x.target; value = x; })
|
||||
[ (allowdeny "allow" (cfg.allow))
|
||||
(allowdeny "deny" cfg.deny)
|
||||
# see man 5 fcron.conf
|
||||
@@ -112,7 +113,7 @@ in
|
||||
gid = config.ids.gids.fcron;
|
||||
mode = "0644";
|
||||
}
|
||||
];
|
||||
]);
|
||||
|
||||
environment.systemPackages = [ pkgs.fcron ];
|
||||
users.users.fcron = {
|
||||
|
||||
Reference in New Issue
Block a user