15 lines
274 B
Nix
15 lines
274 B
Nix
{pkgs, ...}: {
|
|
# disable user creation/deletion
|
|
users.mutableUsers = false;
|
|
|
|
# configure users
|
|
users = {
|
|
users.laurent = {
|
|
isNormalUser = true;
|
|
initialPassword = "laurent";
|
|
extraGroups = ["wheel" "video"];
|
|
shell = pkgs.zsh;
|
|
};
|
|
};
|
|
}
|