summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-05-20 23:29:52 -0300
committerLeonardo Santiago <[email protected]>2024-05-20 23:29:52 -0300
commit2f44a4a26b25c3372df408db1e8e82c3e70fc435 (patch)
treee313305ae9028c38adc17c0ac1018a242d06c5f1 /users
parent5fa482477859dbb50bc8ebb0b779a0b57e063989 (diff)
use hashed password file
Diffstat (limited to 'users')
-rw-r--r--users/leonardo.nix9
1 files changed, 7 insertions, 2 deletions
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 = "[email protected]";
+ user.email = "[email protected]";
color.ui = true;
};
};