diff options
| author | Fuwn <[email protected]> | 2024-09-17 01:37:08 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-17 01:37:08 -0700 |
| commit | 31f4a1350e89fa5e5ba16ced099e9c2210e4e5d4 (patch) | |
| tree | 9a9c1b343d0c4c3d853d5b38ba6d8f3ad1509bec /modules/software | |
| parent | users: immutable users (diff) | |
| download | nixos-config-31f4a1350e89fa5e5ba16ced099e9c2210e4e5d4.tar.xz nixos-config-31f4a1350e89fa5e5ba16ced099e9c2210e4e5d4.zip | |
users: initial hashed password
Diffstat (limited to 'modules/software')
| -rw-r--r-- | modules/software/users.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/software/users.nix b/modules/software/users.nix index be33ac8..ab3fe03 100644 --- a/modules/software/users.nix +++ b/modules/software/users.nix @@ -1,6 +1,6 @@ -{ pkgs, ... }: +{ pkgs, secrets, ... }: let - initialPassword = "123456"; + initialHashedPassword = secrets.initial_hashed_password; in { users = { @@ -8,13 +8,13 @@ in users = { root = { - inherit initialPassword; + inherit initialHashedPassword; shell = pkgs.bash; }; ebisu = { - inherit initialPassword; + inherit initialHashedPassword; isNormalUser = true; shell = pkgs.fish; |