18 lines
		
	
	
	
		
			319 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			319 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs, lib, config, ... }: 
 | |
| 
 | |
| let
 | |
|   inherit (lib) mkIf;
 | |
|   host = config.ooknet.host;
 | |
| in
 | |
| 
 | |
| {
 | |
|   config = mkIf (host.type != "phone") {
 | |
|   # TODO: i dont't want to hardcode this.
 | |
|     environment.variables.FLAKE = "/home/ooks/.config/ooknet/";
 | |
| 
 | |
|     programs.nh = {
 | |
|       enable = true;
 | |
|       package = pkgs.nh;
 | |
|     };
 | |
|   };
 | |
| }
 |