mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add muho sops
This commit is contained in:
parent
5eb3ceba99
commit
36db2d6440
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue