nixos/cassandra: extraUsers -> users

This commit is contained in:
Robert Hensing 2021-04-29 08:51:40 +02:00
parent 472d3b710d
commit 58117bc220

View File

@ -470,14 +470,14 @@ in
}
];
users = mkIf (cfg.user == defaultUser) {
extraUsers.${defaultUser} = {
users.${defaultUser} = {
group = cfg.group;
home = cfg.homeDir;
createHome = true;
uid = config.ids.uids.cassandra;
description = "Cassandra service user";
};
extraGroups.${defaultUser}.gid = config.ids.gids.cassandra;
groups.${defaultUser}.gid = config.ids.gids.cassandra;
};
systemd.services.cassandra = {