Initial setup
This commit is contained in:
		
						commit
						9b4ec6e0a1
					
				
					 5 changed files with 241 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								flake.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								flake.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
{
 | 
			
		||||
  inputs = {
 | 
			
		||||
    nixpkgs.url = "nixpkgs/nixos-unstable";
 | 
			
		||||
    stable.url = "nixpkgs/nixos-23.05";
 | 
			
		||||
 | 
			
		||||
    home-manager = {
 | 
			
		||||
      url = "github:nix-community/home-manager";
 | 
			
		||||
      inputs.nixpkgs.follows = "nixpkgs";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  outputs = inputs @ { self, nixpkgs, ... }: {
 | 
			
		||||
    nixosConfigurations = {
 | 
			
		||||
      lenovo = nixpkgs.lib.nixosSystem rec {
 | 
			
		||||
        system = "x86_64-linux";
 | 
			
		||||
        specialArgs = { inherit system inputs; };
 | 
			
		||||
 | 
			
		||||
        modules = [
 | 
			
		||||
          ./systems/lenovo.nix
 | 
			
		||||
          ./modules/core.nix
 | 
			
		||||
          ./modules/user
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue