diff --git a/hosts/common/users/primary/keys/default.nix b/hosts/common/users/primary/keys/default.nix deleted file mode 100644 index e69de29..0000000 diff --git a/hosts/common/users/primary/keys/installer.pub b/hosts/common/users/primary/keys/installer.pub new file mode 100644 index 0000000..5aaaa33 --- /dev/null +++ b/hosts/common/users/primary/keys/installer.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILitXCbWKzO56YIc3usTK1NS5M61ZNvATly06MFqb/8m nixos install diff --git a/hosts/common/users/primary/nixos.nix b/hosts/common/users/primary/nixos.nix index 64a3b04..dc1b12a 100644 --- a/hosts/common/users/primary/nixos.nix +++ b/hosts/common/users/primary/nixos.nix @@ -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. };