From dc4d72f064414568ff5002f9366df6c2fdba7994 Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 29 Dec 2024 21:50:08 +0100 Subject: Add philip as user on server, force hashed passwords Signed-off-by: Mel --- configuration/configuration.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'configuration') diff --git a/configuration/configuration.nix b/configuration/configuration.nix index 74a603e..ddac03b 100644 --- a/configuration/configuration.nix +++ b/configuration/configuration.nix @@ -21,9 +21,19 @@ time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "en_US.UTF-8"; - users.users.mel = { - isNormalUser = true; - extraGroups = [ "wheel" ]; + users.mutableUsers = false; + users.users = { + mel = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + hashedPassword = "$y$j9T$ieEl5QNLNw/WwPlo8ltbW0$gFxLCTnPgalTvyEbElxrhSH49wrAOUAdjdVjw1NLtsC"; + }; + + philip = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + hashedPassword = "$y$j9T$05voM5wlmF6HSrvOJ4Jtn1$fhAq/k2W6NYydFcwK/LiKGrRz/1NLM7MRUAGNrzy2e/"; + }; }; environment.systemPackages = with pkgs; [ -- cgit 1.4.1