mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
nixos/cassandra: extraUsers -> users
This commit is contained in:
parent
472d3b710d
commit
58117bc220
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue