test
This commit is contained in:
		
							parent
							
								
									2cce56dbd9
								
							
						
					
					
						commit
						e708d48fbd
					
				
					 2 changed files with 12 additions and 14 deletions
				
			
		| 
						 | 
					@ -42,7 +42,7 @@
 | 
				
			||||||
      username = "frostphoenix";
 | 
					      username = "frostphoenix";
 | 
				
			||||||
    in
 | 
					    in
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      # overlays.default = selfPkgs.overlay;
 | 
					      overlays.default = selfPkgs.overlay;
 | 
				
			||||||
      nixosConfigurations = import ./modules/core/default.nix {
 | 
					      nixosConfigurations = import ./modules/core/default.nix {
 | 
				
			||||||
        inherit self nixpkgs inputs username;
 | 
					        inherit self nixpkgs inputs username;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,14 +1,12 @@
 | 
				
			||||||
{
 | 
					rec{
 | 
				
			||||||
  systems = ["x86_64-linux"];
 | 
					  overlay = final: prev:
 | 
				
			||||||
 | 
					    let
 | 
				
			||||||
  perSystem = {
 | 
					      dirContents = builtins.readDir ../pkgs;
 | 
				
			||||||
    pkgs,
 | 
					      genPackage = name: {
 | 
				
			||||||
    inputs',
 | 
					        inherit name;
 | 
				
			||||||
    ...
 | 
					        value = final.callPackage (../pkgs + "/${name}") { };
 | 
				
			||||||
  }: {
 | 
					      };
 | 
				
			||||||
    packages = {
 | 
					      names = builtins.attrNames dirContents;
 | 
				
			||||||
      # instant repl with automatic flake loading
 | 
					    in
 | 
				
			||||||
      _2048 = pkgs.callPackage ./2048 {};
 | 
					    builtins.listToAttrs (map genPackage names);
 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue