diff --git a/modules/users/jopejoe1/default.nix b/modules/users/jopejoe1/default.nix index 22f9f6b..27cd490 100644 --- a/modules/users/jopejoe1/default.nix +++ b/modules/users/jopejoe1/default.nix @@ -11,7 +11,7 @@ in { isNormalUser = true; shell = pkgs.nushell; description = "Johannes Jöns"; - initialPassword = "password"; + hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC"; extraGroups = [ "wheel" "networkmanager" "pipewire" "audio" "adbusers" ]; uid = 1000; openssh.authorizedKeys.keys = [ diff --git a/modules/users/root/default.nix b/modules/users/root/default.nix index 6f0d9ec..9e1b818 100644 --- a/modules/users/root/default.nix +++ b/modules/users/root/default.nix @@ -6,7 +6,7 @@ in { config = lib.mkIf cfg.enable { users.users.root = { - initialPassword = "password"; + hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC"; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB8oyMpS2hK3gQXyHIIVS6oilgMpemLmfhKKJ6RBMwUh johannes@joens.email" ]; diff --git a/systems/hetzner/default.nix b/systems/hetzner/default.nix index 7f9b7d5..b17cdfd 100644 --- a/systems/hetzner/default.nix +++ b/systems/hetzner/default.nix @@ -51,9 +51,6 @@ security.acme.acceptTerms = true; security.acme.defaults.email = "security@missing.ninja"; - users.users.jopejoe1.hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC"; - users.users.root.hashedPassword = "$2b$05$Uk84TY/RHlH8DIigUlFYjeorjTlCMEY9wN2pAcw5BLaPoc7dKiSsC"; - services.vsftpd = { enable = true; writeEnable = true;