Files
nixos/system/user.nix
T
2025-12-24 16:47:32 -06:00

18 lines
351 B
Nix

{
pkgs,
myConfig,
config,
...
}: {
users = {
users = {
${myConfig.nixos.username} = {
isNormalUser = true;
extraGroups = ["wheel" "networkmanager" "input" "video"];
hashedPasswordFile = config.sops.secrets.default_password.path; # FIXME: may not work!
useDefaultShell = true;
};
};
};
}