Add muho sops

This commit is contained in:
muon 2025-01-17 21:02:05 +00:00
parent 5eb3ceba99
commit 36db2d6440
2 changed files with 2 additions and 1 deletions

View file

@ -1,8 +1,10 @@
keys: keys:
- &muon age1m97a3eptxwpdd7h5kkqe9gkmhg6rquc64qjmlsfqfhfqv8q72crqrylhgc - &muon age1m97a3eptxwpdd7h5kkqe9gkmhg6rquc64qjmlsfqfhfqv8q72crqrylhgc
- &muho age1v4s4hg7u3vjjkarvrk7v6ev7w3wja2r5xm7f4t06culw3fuq7qns8sfju7
creation_rules: creation_rules:
- path_regex: modules/nixos/sops/secrets.ya?ml$ - path_regex: modules/nixos/sops/secrets.ya?ml$
key_groups: key_groups:
- age: - age:
- *muon - *muon
- *muho

View file

@ -8,7 +8,6 @@
users.users.${config.mods.user.name} = { users.users.${config.mods.user.name} = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
initialPassword = "changeme";
hashedPasswordFile = config.sops.secrets.muon-password.path; hashedPasswordFile = config.sops.secrets.muon-password.path;
shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash; shell = if config.programs.zsh.enable then pkgs.zsh else pkgs.bash;
}; };