From 2f9d3417d432dd89edf08441bd202530bc8fbd03 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 23 Sep 2021 21:28:29 +0200 Subject: [PATCH] modules: system: users: use 'ambroisie' password Do not rely on `my.user.name` which could be changed to a value not available in the secrets. --- modules/system/users.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/users.nix b/modules/system/users.nix index 3897ad7..65c0ed5 100644 --- a/modules/system/users.nix +++ b/modules/system/users.nix @@ -21,7 +21,7 @@ in }; ${config.my.user.name} = { - inherit (secrets.users.${config.my.user.name}) hashedPassword; + inherit (secrets.users.ambroisie) hashedPassword; description = "Bruno BELANYI"; isNormalUser = true; shell = pkgs.zsh;