Update to make home-manager hopefully work
This commit is contained in:
		
							parent
							
								
									1b0f970633
								
							
						
					
					
						commit
						29ad90bcc1
					
				
					 3 changed files with 16 additions and 6 deletions
				
			
		
							
								
								
									
										6
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -7,11 +7,11 @@
 | 
			
		|||
        ]
 | 
			
		||||
      },
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1698250431,
 | 
			
		||||
        "narHash": "sha256-qs2gTeH4wpnWPO6Oi6sOhp2IhG0i0DzcnrJxIY3/CP8=",
 | 
			
		||||
        "lastModified": 1698392685,
 | 
			
		||||
        "narHash": "sha256-yx/sbRneR2AfSAeAMqUu0hoVJdjh+qhl/7dkirp8yo8=",
 | 
			
		||||
        "owner": "nix-community",
 | 
			
		||||
        "repo": "home-manager",
 | 
			
		||||
        "rev": "09587fbbc6a669f7725613e044c2577dc5d43ab5",
 | 
			
		||||
        "rev": "1369d2cefb6f128c30e42fabcdebbacc07e18b3f",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -82,6 +82,7 @@
 | 
			
		|||
 | 
			
		||||
    # Standalone home-manager configuration entrypoint
 | 
			
		||||
    # Available through 'home-manager --flake .#your-username@your-hostname'
 | 
			
		||||
    /*
 | 
			
		||||
       homeConfigurations = {
 | 
			
		||||
      "lillian@EDI" = home-manager.lib.homeManagerConfiguration {
 | 
			
		||||
        pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
 | 
			
		||||
| 
						 | 
				
			
			@ -103,5 +104,6 @@
 | 
			
		|||
        ];
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
    */
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,8 @@
 | 
			
		|||
}: {
 | 
			
		||||
  # You can import other NixOS modules here
 | 
			
		||||
  imports = [
 | 
			
		||||
    <home-manager/nixos>
 | 
			
		||||
    # Import home-manager's NixOS module
 | 
			
		||||
    inputs.home-manager.nixosModules.home-manager
 | 
			
		||||
    # If you want to use modules your own flake exports (from modules/nixos):
 | 
			
		||||
    # outputs.nixosModules.example
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -23,9 +24,16 @@
 | 
			
		|||
 | 
			
		||||
    # Import your generated (nixos-generate-config) hardware configuration
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
    ./././home-manager/EDI-Lillian.nix
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  home-manager = {
 | 
			
		||||
    extraSpecialArgs = { inherit inputs outputs; };
 | 
			
		||||
    users = {
 | 
			
		||||
      # Import your home-manager configuration
 | 
			
		||||
      lillian = import .../home-manager/EDI-Lillian.nix;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  nixpkgs = {
 | 
			
		||||
    # You can add overlays here
 | 
			
		||||
    overlays = [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue