From e062b2741ff294e1f3e88fe7253c1a8482f4b249 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 30 Dec 2024 16:46:40 +0100 Subject: Move user passwords and keys out for easier reuse Signed-off-by: Mel --- configuration/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configuration/configuration.nix') diff --git a/configuration/configuration.nix b/configuration/configuration.nix index 3ddcca1..5f7d8bd 100644 --- a/configuration/configuration.nix +++ b/configuration/configuration.nix @@ -2,6 +2,7 @@ config, lib, pkgs, + credentials, ... }: @@ -26,13 +27,13 @@ mel = { isNormalUser = true; extraGroups = [ "wheel" ]; - hashedPassword = "$y$j9T$ieEl5QNLNw/WwPlo8ltbW0$gFxLCTnPgalTvyEbElxrhSH49wrAOUAdjdVjw1NLtsC"; + hashedPassword = credentials.mel.password; }; philip = { isNormalUser = true; extraGroups = [ "wheel" ]; - hashedPassword = "$y$j9T$05voM5wlmF6HSrvOJ4Jtn1$fhAq/k2W6NYydFcwK/LiKGrRz/1NLM7MRUAGNrzy2e/"; + hashedPassword = credentials.philip.password; }; }; -- cgit 1.4.1