From b7dc106f99b455b6502fd5f6d1e51514e9a7e029 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 30 May 2025 16:45:03 +0200 Subject: add hashed password --- hosts/nixos/configuration.nix | 1 + hosts/pi/configuration.nix | 0 hosts/vps/configuration.nix | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 hosts/pi/configuration.nix (limited to 'hosts') diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index 4eb9afc..cf43407 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -43,6 +43,7 @@ # User users.users.leander = { isNormalUser = true; + hashedPassword = "$6$N1g.gaLo3WGYJA1v$qsd5UCptO/QrtGnMsSaLNVAv2cwKscuwluwl5YslnbdH6gLZ27C10G72py.mO79anKbvL/B0c.RaA6gXyYCk6/"; extraGroups = [ "networkmanager" "wheel" "video" "input" ]; }; diff --git a/hosts/pi/configuration.nix b/hosts/pi/configuration.nix new file mode 100644 index 0000000..e69de29 diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index 2266f7a..ca4802e 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -17,7 +17,7 @@ users.users.administrator = { isNormalUser = true; - password = "admin"; + hashedPassword = "$6$KBblJguEyfEmuWnU$Xf0QqPVacA2qvnzZRpnSE2cmh0kNnMgtVhCrMEDI76buNzuzkuDY6EnO7jPjQlEnoczx6ZPAl2pK.SxezbVa.."; extraGroups = [ "wheel" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPvlkqlvY4+0o7UIGnFnnRw0HeBq5v7wYJ3kY3teXxxl vps" -- cgit v1.3.1