summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-10 21:34:29 -0500
committerseth <[email protected]>2023-03-10 21:34:29 -0500
commit4052e2795080d4ce72e64aec4e7b6eb8d823946e (patch)
treed6a70e299a5266ee0085f750317043424e18414a /users
parent8a7757fded4269a759dcf5fc4ce8e1013c557d5d (diff)
use agenix for passwords
Diffstat (limited to 'users')
-rw-r--r--users/root/default.nix2
-rw-r--r--users/seth/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/users/root/default.nix b/users/root/default.nix
index 2fec3ea..a77e461 100644
--- a/users/root/default.nix
+++ b/users/root/default.nix
@@ -3,6 +3,6 @@
home = "/root";
uid = config.ids.uids.root;
group = "root";
- initialHashedPassword = "***REMOVED***";
+ passwordFile = config.age.secrets.rootPassword.path;
};
}
diff --git a/users/seth/default.nix b/users/seth/default.nix
index 52979b3..93368d9 100644
--- a/users/seth/default.nix
+++ b/users/seth/default.nix
@@ -7,8 +7,8 @@
users.users.seth = {
extraGroups = ["wheel"];
isNormalUser = true;
- hashedPassword = "***REMOVED***";
shell = pkgs.fish;
+ passwordFile = config.age.secrets.sethPassword.path;
};
programs.fish.enable = true;