summaryrefslogtreecommitdiff
path: root/modules/software/users.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-17 01:37:08 -0700
committerFuwn <[email protected]>2024-09-17 01:37:08 -0700
commit31f4a1350e89fa5e5ba16ced099e9c2210e4e5d4 (patch)
tree9a9c1b343d0c4c3d853d5b38ba6d8f3ad1509bec /modules/software/users.nix
parentusers: immutable users (diff)
downloadnixos-config-31f4a1350e89fa5e5ba16ced099e9c2210e4e5d4.tar.xz
nixos-config-31f4a1350e89fa5e5ba16ced099e9c2210e4e5d4.zip
users: initial hashed password
Diffstat (limited to 'modules/software/users.nix')
-rw-r--r--modules/software/users.nix8
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;