mirror of
				https://github.com/lelgenio/dzgui-nix.git
				synced 2025-11-04 04:47:36 -03:00 
			
		
		
		
	refactor: extract more things from flake.nix
This commit is contained in:
		
							parent
							
								
									f7a0747d62
								
							
						
					
					
						commit
						54e6c10bac
					
				
					 3 changed files with 10 additions and 10 deletions
				
			
		
							
								
								
									
										12
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								flake.nix
									
										
									
									
									
								
							| 
						 | 
					@ -17,7 +17,7 @@
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      overlays = {
 | 
					      overlays = {
 | 
				
			||||||
        default = (final: _: { dzgui = (final.callPackage ./package { }); });
 | 
					        default = import ./overlay.nix;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      nixosModules = rec {
 | 
					      nixosModules = rec {
 | 
				
			||||||
| 
						 | 
					@ -32,15 +32,7 @@
 | 
				
			||||||
      checks.${system}.nixosCheck =
 | 
					      checks.${system}.nixosCheck =
 | 
				
			||||||
        (nixpkgs.lib.nixosSystem {
 | 
					        (nixpkgs.lib.nixosSystem {
 | 
				
			||||||
          inherit system;
 | 
					          inherit system;
 | 
				
			||||||
          modules = [
 | 
					          modules = [ ./nixos-test/configuration.nix ];
 | 
				
			||||||
            self.nixosModules.default
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
              programs.dzgui.enable = true;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
              boot.isContainer = true;
 | 
					 | 
				
			||||||
              system.stateVersion = "24.05";
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
          ];
 | 
					 | 
				
			||||||
        }).config.system.build.toplevel;
 | 
					        }).config.system.build.toplevel;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										7
									
								
								nixos-test/configuration.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								nixos-test/configuration.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  imports = [ ../module.nix ];
 | 
				
			||||||
 | 
					  programs.dzgui.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot.isContainer = true;
 | 
				
			||||||
 | 
					  system.stateVersion = "24.05";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										1
									
								
								overlay.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								overlay.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					(final: _: { dzgui = (final.callPackage ./package { }); })
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue