1
0
Fork 1
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:
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 = {