forked from jan-leila/nix-config
		
	restricted more of leylas configs behind full user
This commit is contained in:
		
							parent
							
								
									d9bb30a19d
								
							
						
					
					
						commit
						9b520878c4
					
				
					 6 changed files with 23 additions and 23 deletions
				
			
		|  | @ -4,11 +4,11 @@ let | |||
| in | ||||
| { | ||||
|   options.users.eve = { | ||||
|     isNormalUser = lib.mkEnableOption "eve"; | ||||
|     isFullUser = lib.mkEnableOption "eve"; | ||||
|   }; | ||||
| 
 | ||||
|   config = { | ||||
|     sops.secrets = lib.mkIf cfg.isNormalUser { | ||||
|     sops.secrets = lib.mkIf cfg.isFullUser { | ||||
|       "passwords/eve" = { | ||||
|         neededForUsers = true; | ||||
|         # sopsFile = ../secrets.yaml; | ||||
|  | @ -25,7 +25,7 @@ in | |||
|       } | ||||
| 
 | ||||
|       ( | ||||
|         if cfg.isNormalUser then { | ||||
|         if cfg.isFullUser then { | ||||
|           isNormalUser = true; | ||||
|           extraGroups = [ "networkmanager" ]; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue