moved secrets.yaml

This commit is contained in:
Richie committed 2025-01-07 15:35:27 -05:00
1 parent 15234fa2bb
commit 71e6fa377c
4 files changed
+68 -60

No files matched your search

+9
View File
@@ -5,8 +5,17 @@
}: let
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
sops.secrets.richie_password = {
sopsFile = ../secrets.yaml;
neededForUsers = true;
};
users.users.richie = {
isNormalUser = true;
hashedPasswordFile = "${config.sops.secrets.richie_password.path}";
shell = pkgs.zsh;
group = "richie";
openssh.authorizedKeys.keys = [