charybis: use not deprecated user/group syntax
This commit is contained in:
parent
f441a3dbc7
commit
f11ec6f9b2
@ -71,14 +71,13 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable (lib.mkMerge [
|
config = mkIf cfg.enable (lib.mkMerge [
|
||||||
{
|
{
|
||||||
users.users = singleton {
|
users.users.${cfg.user} = {
|
||||||
name = cfg.user;
|
|
||||||
description = "Charybdis IRC daemon user";
|
description = "Charybdis IRC daemon user";
|
||||||
uid = config.ids.uids.ircd;
|
uid = config.ids.uids.ircd;
|
||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups = singleton {
|
users.groups.${cfg.group} = {
|
||||||
name = cfg.group;
|
name = cfg.group;
|
||||||
gid = config.ids.gids.ircd;
|
gid = config.ids.gids.ircd;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user