moved sops config into common
This commit is contained in:
parent
8f8cea0ab2
commit
417aafe2e8
6 changed files with 16 additions and 19 deletions
|
@ -27,7 +27,7 @@ in
|
|||
(
|
||||
if cfg.isFullUser then {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" ];
|
||||
extraGroups = [ "networkmanager" "users" ];
|
||||
|
||||
hashedPasswordFile = config.sops.secrets."passwords/ester".path;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ in
|
|||
(
|
||||
if cfg.isFullUser then {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" ];
|
||||
extraGroups = [ "networkmanager" "users" ];
|
||||
|
||||
hashedPasswordFile = config.sops.secrets."passwords/eve".path;
|
||||
|
||||
|
|
|
@ -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" ]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue