add authorized key

This commit is contained in:
Daylin Morgan 2024-02-05 17:41:27 -06:00
parent bd4fdb0a64
commit ce0fb9a689
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -18,11 +18,15 @@ in {
config = mkIf cfg { config = mkIf cfg {
users.users.daylin = { users.users.daylin = {
isNormalUser = true; isNormalUser = true;
shell = pkgs.zsh; shell = pkgs.zsh;
extraGroups = [ extraGroups = [
"wheel" # sudo "wheel" # sudo
]; ];
initialPassword = "nix"; initialPassword = "nix";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKkezPIhB+QW37G15ZV3bewydpyEcNlYxfHLlzuk3PH9"
];
}; };
}; };
} }