treewide: use attrs instead of list for types.loaOf options

This commit is contained in:
rnhmjoj
2020-01-06 10:39:18 -05:00
committed by worldofpeace
parent 6bd13ccd8e
commit 1d61efb7f1
153 changed files with 811 additions and 1006 deletions
+3 -2
View File
@@ -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 = {