forked from jan-leila/nix-config
		
	added home manager configurations to output
This commit is contained in:
		
							parent
							
								
									90f0c114b3
								
							
						
					
					
						commit
						3fdee879c7
					
				
					 9 changed files with 45 additions and 32 deletions
				
			
		|  | @ -1,4 +1,8 @@ | |||
| {pkgs, ...}: { | ||||
| { | ||||
|   pkgs, | ||||
|   osConfig, | ||||
|   ... | ||||
| }: { | ||||
|   imports = [ | ||||
|     ./packages.nix | ||||
|     ../../home-modules | ||||
|  | @ -8,8 +12,8 @@ | |||
|     # Home Manager needs a bit of information about you and the paths it should | ||||
|     # manage. | ||||
|     home = { | ||||
|       username = "leyla"; | ||||
|       # homeDirectory = osConfig.users.users.leyla.home; | ||||
|       username = osConfig.host.users.leyla.name; | ||||
|       homeDirectory = osConfig.users.users.leyla.home; | ||||
| 
 | ||||
|       # This value determines the Home Manager release that your configuration is | ||||
|       # compatible with. This helps avoid breakage when a new Home Manager release | ||||
|  |  | |||
|  | @ -1,7 +1,5 @@ | |||
| { | ||||
|   lib, | ||||
|   osConfig, | ||||
|   # buildFirefoxXpiAddon, | ||||
|   pkgs, | ||||
|   inputs, | ||||
|   ... | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ | |||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   cfg = osConfig.host.users.leyla; | ||||
|   userConifg = osConfig.host.users.leyla; | ||||
|   hardware = osConfig.host.hardware; | ||||
| in { | ||||
|   imports = [ | ||||
|  | @ -14,7 +14,7 @@ in { | |||
| 
 | ||||
|   home = { | ||||
|     packages = | ||||
|       lib.lists.optionals cfg.isTerminalUser ( | ||||
|       lib.lists.optionals userConifg.isTerminalUser ( | ||||
|         with pkgs; [ | ||||
|           # comand line tools | ||||
|           yt-dlp | ||||
|  | @ -23,7 +23,7 @@ in { | |||
|         ] | ||||
|       ) | ||||
|       ++ ( | ||||
|         lib.lists.optionals cfg.isDesktopUser ( | ||||
|         lib.lists.optionals userConifg.isDesktopUser ( | ||||
|           with pkgs; [ | ||||
|             # helvetica font | ||||
|             aileron | ||||
|  |  | |||
|  | @ -1,6 +1,4 @@ | |||
| { | ||||
|   lib, | ||||
|   osConfig, | ||||
|   pkgs, | ||||
|   inputs, | ||||
|   ... | ||||
|  | @ -77,8 +75,6 @@ | |||
| 
 | ||||
|             # misc extensions | ||||
|             bungcip.better-toml | ||||
| 
 | ||||
|             # lib.mkIf open-vsx."10nates".ollama-autocoder | ||||
|           ] | ||||
|           ++ ( | ||||
|             with vscode-marketplace; [ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue