forked from jan-leila/nix-config
		
	ran linter
This commit is contained in:
		
							parent
							
								
									5da0753b7c
								
							
						
					
					
						commit
						dcd5accea0
					
				
					 23 changed files with 372 additions and 309 deletions
				
			
		|  | @ -1,8 +1,11 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| let | ||||
|   cfg = config.users.eve; | ||||
| in | ||||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   cfg = config.users.eve; | ||||
| in { | ||||
|   options.users.eve = { | ||||
|     isFullUser = lib.mkEnableOption "eve"; | ||||
|   }; | ||||
|  | @ -25,9 +28,10 @@ in | |||
|       } | ||||
| 
 | ||||
|       ( | ||||
|         if cfg.isFullUser then { | ||||
|         if cfg.isFullUser | ||||
|         then { | ||||
|           isNormalUser = true; | ||||
|           extraGroups = [ "networkmanager" "users" ]; | ||||
|           extraGroups = ["networkmanager" "users"]; | ||||
| 
 | ||||
|           hashedPasswordFile = config.sops.secrets."passwords/eve".path; | ||||
| 
 | ||||
|  | @ -38,10 +42,11 @@ in | |||
|             makemkv | ||||
|             signal-desktop | ||||
|           ]; | ||||
|         } else { | ||||
|         } | ||||
|         else { | ||||
|           isSystemUser = true; | ||||
|         } | ||||
|       ) | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue