moved sops config into common

This commit is contained in:
Leyla Becker 2024-09-15 12:55:31 -05:00
parent 8f8cea0ab2
commit 417aafe2e8
6 changed files with 16 additions and 19 deletions

View file

@ -27,7 +27,7 @@ in
(
if cfg.isFullUser then {
isNormalUser = true;
extraGroups = [ "networkmanager" ];
extraGroups = [ "networkmanager" "users" ];
hashedPasswordFile = config.sops.secrets."passwords/ester".path;

View file

@ -27,7 +27,7 @@ in
(
if cfg.isFullUser then {
isNormalUser = true;
extraGroups = [ "networkmanager" ];
extraGroups = [ "networkmanager" "users" ];
hashedPasswordFile = config.sops.secrets."passwords/eve".path;

View file

@ -37,7 +37,7 @@ in
if (cfg.isFullUser || cfg.isThinUser) then {
isNormalUser = true;
extraGroups = lib.mkMerge [
["networkmanager" "wheel" "docker"]
["networkmanager" "wheel" "docker" "users"]
(
lib.mkIf (!cfg.isThinUser) [ "adbusers" ]
)