home: easier import
This commit is contained in:
		
							parent
							
								
									20158d71a4
								
							
						
					
					
						commit
						fa4b52168f
					
				|  | @ -5,9 +5,7 @@ Create `~/.config/nixpkgs/home.nix` with: | |||
| {pkgs, ...}: | ||||
| { | ||||
| 	imports = [ | ||||
| 		./repo/default.nix | ||||
| 		./repo/desktop.nix | ||||
| 		./repo/sway.nix | ||||
| 		./repo/desktop-sway.nix | ||||
| 	]; | ||||
| } | ||||
| ``` | ||||
|  |  | |||
|  | @ -1,5 +1,7 @@ | |||
| {pkgs, ...}: | ||||
| { | ||||
| 	imports = [./default.nix]; | ||||
| 
 | ||||
| 	home.packages = with pkgs; [ | ||||
| 		poezio | ||||
| 	]; | ||||
|  |  | |||
|  | @ -1,5 +1,7 @@ | |||
| {pkgs, ...}: | ||||
| { | ||||
| 	imports = [./default.nix]; | ||||
| 
 | ||||
|  	home.sessionVariables = { | ||||
| 		BROWSER = "firefox"; | ||||
| 	}; | ||||
|  |  | |||
|  | @ -1,8 +1,6 @@ | |||
| {pkgs, ...}: | ||||
| { | ||||
| 	imports = [ | ||||
| 		./repo/default.nix | ||||
| 		./repo/desktop.nix | ||||
| 		./repo/gnome.nix | ||||
| 		./repo/desktop-sway.nix | ||||
| 	]; | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue