forked from jan-leila/nix-config
		
	moved user group configuration to environment common
This commit is contained in:
		
							parent
							
								
									1be145193e
								
							
						
					
					
						commit
						4145dd770f
					
				
					 4 changed files with 8 additions and 3 deletions
				
			
		|  | @ -86,6 +86,11 @@ | |||
|         members = ["eve"]; | ||||
|       }; | ||||
| 
 | ||||
|       useres = { | ||||
|         gid = 100; | ||||
|         members = ["lelya" "ester" "eve"]; | ||||
|       }; | ||||
| 
 | ||||
|       jellyfin = { | ||||
|         gid = 2000; | ||||
|         members = ["jellyfin" "leyla"]; | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ in { | |||
|       if cfg.isFullUser | ||||
|       then { | ||||
|         isNormalUser = true; | ||||
|         extraGroups = ["networkmanager" "users"]; | ||||
|         extraGroups = ["networkmanager"]; | ||||
| 
 | ||||
|         hashedPasswordFile = config.sops.secrets."passwords/ester".path; | ||||
| 
 | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ in { | |||
|       if cfg.isFullUser | ||||
|       then { | ||||
|         isNormalUser = true; | ||||
|         extraGroups = ["networkmanager" "users"]; | ||||
|         extraGroups = ["networkmanager"]; | ||||
| 
 | ||||
|         hashedPasswordFile = config.sops.secrets."passwords/eve".path; | ||||
| 
 | ||||
|  |  | |||
|  | @ -30,7 +30,7 @@ in { | |||
|       then { | ||||
|         isNormalUser = true; | ||||
|         extraGroups = lib.mkMerge [ | ||||
|           ["networkmanager" "wheel" "users"] | ||||
|           ["networkmanager" "wheel"] | ||||
|           ( | ||||
|             lib.mkIf (!cfg.isThinUser) ["adbusers"] | ||||
|           ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue