17 lines
308 B
Nix
17 lines
308 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
users.groups.uni = {};
|
|
users.users.uni = {
|
|
createHome = true;
|
|
home = "/home/uni";
|
|
isNormalUser = true;
|
|
group = "uni";
|
|
extraGroups = ["nix" "users"];
|
|
hashedPasswordFile = config.sops.secrets."user-password-hashed".path;
|
|
shell = pkgs.fish;
|
|
};
|
|
}
|