mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
add authorized key
This commit is contained in:
parent
bd4fdb0a64
commit
ce0fb9a689
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue