mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
add install key to primary user
This commit is contained in:
parent
28cb23e1a0
commit
f7a46aa7c6
3 changed files with 1 additions and 1 deletions
1
hosts/common/users/primary/keys/installer.pub
Normal file
1
hosts/common/users/primary/keys/installer.pub
Normal file
|
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILitXCbWKzO56YIc3usTK1NS5M61ZNvATly06MFqb/8m nixos install
|
||||
|
|
@ -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.
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue