forked from jan-leila/nix-config
		
	replaced isThinInstallation with isThinUser
added util folder
This commit is contained in:
		
							parent
							
								
									8232ae338c
								
							
						
					
					
						commit
						b9431f5814
					
				
					 5 changed files with 19 additions and 13 deletions
				
			
		
							
								
								
									
										8
									
								
								util/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								util/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| { lib, ... }: | ||||
| { | ||||
|   mkUnless = condition: then: (mkIf (!condition) then); | ||||
|   mkIfElse = condition: then: else: lib.mkMerge [ | ||||
|     (mkIf condition then) | ||||
|     (mkUnless condition else) | ||||
|   ]; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue