CrOS/modules/users/crow/user.nix
TheWanderingCrow 7cb51dcf8d direnv
2025-03-13 09:33:14 -04:00

17 lines
400 B
Nix

{
inputs,
lib,
config,
...
}: {
users.users.crow = lib.mkIf config.user.crow.enable {
isNormalUser = true;
initialPassword = "changeme";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
];
};
home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
}