mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 13:50:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			515 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			515 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {
 | |
|   lib,
 | |
|   self,
 | |
|   inputs,
 | |
|   ...
 | |
| }:
 | |
| {
 | |
|   imports = [
 | |
|     inputs.easy-hosts.flakeModule
 | |
|   ];
 | |
| 
 | |
|   easy-hosts = {
 | |
|     autoConstruct = true;
 | |
|     path = ../../systems;
 | |
| 
 | |
|     perClass = class: {
 | |
|       modules =
 | |
|         (lib.optionals (class == "nixos") [
 | |
|           inputs.home-manager.nixosModules.default
 | |
|           inputs.sops-nix.nixosModules.sops
 | |
|           inputs.minegrub-theme.nixosModules.default
 | |
|         ])
 | |
|         ++ (self.lib.dirToModuleList ../${class}); # Import modules based on current classname.
 | |
|     };
 | |
|   };
 | |
| }
 |