From c13e57f584cc2eb67ff69827110e87223b39dde7 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 23 Sep 2021 21:30:19 +0200 Subject: [PATCH] modules: system: users: use 'initialHashedPassword' This is the better option to use in case I want to have a stateless system. --- modules/system/users.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/users.nix b/modules/system/users.nix index 65c0ed5..32b46ca 100644 --- a/modules/system/users.nix +++ b/modules/system/users.nix @@ -17,11 +17,11 @@ in users = { root = { - inherit (secrets.users.root) hashedPassword; + initialHashedPassword = secrets.users.root.hashedPassword; }; ${config.my.user.name} = { - inherit (secrets.users.ambroisie) hashedPassword; + initialHashedPassword = secrets.users.ambroisie.hashedPassword; description = "Bruno BELANYI"; isNormalUser = true; shell = pkgs.zsh;