CrOS/modules/users/crow/user.nix
TheWanderingCrow c1fdb6faf8 add homebox
2025-01-20 20:05:02 -05:00

17 lines
414 B
Nix

{
inputs,
lib,
config,
...
}: {
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
];
};
config.home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
}