add install key to primary user

This commit is contained in:
TheWanderingCrow 2025-06-30 10:56:58 -04:00
parent 28cb23e1a0
commit f7a46aa7c6
3 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILitXCbWKzO56YIc3usTK1NS5M61ZNvATly06MFqb/8m nixos install

View file

@ -40,7 +40,6 @@ in {
# Root user setup
root = {
shell = pkgs.zsh;
initialPassword = "install"; # initial password for install, gets overwritten by sops
hashedPasswordFile = config.users.users.${hostSpec.username}.hashedPasswordFile;
openssh.authorizedKeys.keys = config.users.users.${hostSpec.username}.openssh.authorizedKeys.keys; # root's ssh keys are mainly used for remote deployment.
};