nixos-config/modules/core/user-linux.nix

22 lines
377 B
Nix

{ username, ... }:
{
users.users.${username} = {
isNormalUser = true;
extraGroups = [
"networkmanager"
"wheel"
"docker"
"input"
"dialout"
"wheel"
];
initialPassword = "temporary-password";
};
home-manager = {
inherit username;
homeDirectory = "/home/${username}";
};
fonts.fontconfig.antialias = false;
}