refactor(flake): no import =
This commit is contained in:
		
							parent
							
								
									016c6ec3a6
								
							
						
					
					
						commit
						e888ebe69c
					
				
					 2 changed files with 42 additions and 39 deletions
				
			
		
							
								
								
									
										11
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -3,7 +3,7 @@ | ||||||
|   description = "a nix configuration written by an orangutan"; |   description = "a nix configuration written by an orangutan"; | ||||||
| 
 | 
 | ||||||
|   outputs = { flake-parts, nixpkgs, self, ... } @ inputs: |   outputs = { flake-parts, nixpkgs, self, ... } @ inputs: | ||||||
|     flake-parts.lib.mkFlake {inherit inputs;} ({withSystem, ...}: { |     flake-parts.lib.mkFlake { inherit inputs; } { | ||||||
| 
 | 
 | ||||||
|       systems = [ |       systems = [ | ||||||
|         "x86_64-linux" |         "x86_64-linux" | ||||||
|  | @ -12,13 +12,14 @@ | ||||||
| 
 | 
 | ||||||
|       imports = [ |       imports = [ | ||||||
|         ./flake/pkgs |         ./flake/pkgs | ||||||
|  |         ./flake/nixos.nix | ||||||
|       ]; |       ]; | ||||||
| 
 | 
 | ||||||
|       flake = { |       # flake = { | ||||||
|         nixosConfigurations = import ./flake/nixos.nix {inherit self inputs nixpkgs;}; |       #   nixosConfigurations = import ./flake/nixos.nix {inherit self inputs nixpkgs;}; | ||||||
|       }; |       # }; | ||||||
| 
 | 
 | ||||||
|     }); |     }; | ||||||
| 
 | 
 | ||||||
|   # External inputs we depend on |   # External inputs we depend on | ||||||
|   inputs = { |   inputs = { | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| { inputs, nixpkgs, self, ... }: | { inputs, self, ... }: | ||||||
| 
 | 
 | ||||||
| let | let | ||||||
|   inherit (nixpkgs.lib) nixosSystem; |   inherit (inputs.nixpkgs.lib) nixosSystem; | ||||||
| 
 | 
 | ||||||
|   hm = inputs.home-manager.nixosModules.home-manager; |   hm = inputs.home-manager.nixosModules.home-manager; | ||||||
| 
 | 
 | ||||||
|  | @ -20,6 +20,7 @@ let | ||||||
| in | in | ||||||
| 
 | 
 | ||||||
| { | { | ||||||
|  |   flake.nixosConfigurations = { | ||||||
|     ooksdesk = nixosSystem { |     ooksdesk = nixosSystem { | ||||||
|       inherit specialArgs; |       inherit specialArgs; | ||||||
|       system = "x86_64-linux"; |       system = "x86_64-linux"; | ||||||
|  | @ -55,4 +56,5 @@ in | ||||||
|         media-server |         media-server | ||||||
|       ]; |       ]; | ||||||
|     }; |     }; | ||||||
|  |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue