moved secrets.yaml

This commit is contained in:
2025-01-07 00:32:42 -05:00
parent 15234fa2bb
commit 71e6fa377c
4 changed files with 68 additions and 60 deletions

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 = [