diff options
| author | Mel <einebeere@gmail.com> | 2024-12-29 21:50:08 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-12-29 21:50:08 +0100 |
| commit | dc4d72f064414568ff5002f9366df6c2fdba7994 (patch) | |
| tree | 0341ddc1094309f7a9ab33bf5ce4d3f370a5cb89 /configuration/configuration.nix | |
| parent | 533d0cd2043f08b02bb0248b5aebc7bc60d6b15a (diff) | |
| download | specimen-dc4d72f064414568ff5002f9366df6c2fdba7994.tar.zst specimen-dc4d72f064414568ff5002f9366df6c2fdba7994.zip | |
Add philip as user on server, force hashed passwords
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'configuration/configuration.nix')
| -rw-r--r-- | configuration/configuration.nix | 16 |
1 files changed, 13 insertions, 3 deletions
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; [ |
