nixos/modules: users.(extraUsers|extraGroup->users|group)

This commit is contained in:
Florian Klink
2018-06-30 03:02:58 +02:00
parent 89d5d191b4
commit fff5923686
295 changed files with 512 additions and 512 deletions
@@ -638,13 +638,13 @@ in {
cfg.web.enable || cfg.api.enable ||
cfg.seyren.enable || cfg.pager.enable || cfg.beacon.enable
) {
users.extraUsers = singleton {
users.users = singleton {
name = "graphite";
uid = config.ids.uids.graphite;
description = "Graphite daemon user";
home = dataDir;
};
users.extraGroups.graphite.gid = config.ids.gids.graphite;
users.groups.graphite.gid = config.ids.gids.graphite;
})
];
}