nix-flake/modules/system/user.nix
2026-02-07 13:44:48 +07:00

21 lines
388 B
Nix

{ pkgs, username, ... }: {
users.users."${username}" = {
linger = true;
isNormalUser = true;
description = "${username}";
initialPassword = "${username}";
shell = pkgs.zsh;
extraGroups = [
"networkmanager"
"wheel"
"dialout"
"libvirtd"
"docker"
"input"
"uinput"
"plugdev"
"adbusers"
"kvm"
];
};
}