From 2f44a4a26b25c3372df408db1e8e82c3e70fc435 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Mon, 20 May 2024 23:29:52 -0300 Subject: use hashed password file --- users/leonardo.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'users/leonardo.nix') diff --git a/users/leonardo.nix b/users/leonardo.nix index ae6c15b..ab7a48e 100644 --- a/users/leonardo.nix +++ b/users/leonardo.nix @@ -99,7 +99,7 @@ description = "leonardo"; extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.bashInteractive; - hashedPassword = "$y$j9T$NT9Ymktl8npD5RomDyBmK0$YfrrP0fcHRPcJZAAO.g8pRsSBoYvIq2aBBxBAHIesU2"; + hashedPasswordFile = config.age.secrets.user-pass.path; }; age.secrets = { @@ -123,6 +123,11 @@ owner = "1000"; group = "100"; }; + user-pass = { + file = ../secrets/user-pass.age; + owner = "1000"; + group = "100"; + } }; services.gnome.gnome-browser-connector.enable = true; home-manager = { @@ -215,7 +220,7 @@ diff-so-fancy.enable = true; extraConfig = { user.name = "Leonardo Santiago"; - user.email = "leonardo@mixrank.com"; + user.email = "leonardo.ribeiro.santiago@gmail.com"; color.ui = true; }; }; -- cgit v1.2.3