[mpv] Merge module into user
This commit is contained in:
		
							parent
							
								
									c46a7ce9c3
								
							
						
					
					
						commit
						502f0f8bb0
					
				
					 4 changed files with 13 additions and 16 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| { config, lib, pkgs, pkgs-unstable, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.sisyphus.users.tdpeuter; | ||||
|  | @ -29,7 +29,7 @@ in { | |||
| 
 | ||||
|         # If you specify an application here, it will be detected by the configuration module | ||||
|         #  and the configuration files will be put in place for you. | ||||
|         packages = with pkgs; [ | ||||
|         packages = (with pkgs; [ | ||||
|           duf | ||||
|           jellyfin-media-player | ||||
|           libreoffice-fresh | ||||
|  | @ -40,13 +40,21 @@ in { | |||
|           spotify | ||||
|           unzip | ||||
|           zathura | ||||
|           zenith-nvidia | ||||
|         ]; | ||||
|         ]) ++ (with pkgs-unstable; [ | ||||
|           mpv | ||||
|         ]); | ||||
| 
 | ||||
|         # Put dotfiles in place. | ||||
|         file = { | ||||
|           ".config/alacritty" = lib.mkIf (builtins.elem pkgs.alacritty installedPkgs) { | ||||
|             source = ../../../../stow/alacritty/.config/alacritty; | ||||
|           }; | ||||
|           ".config/mpv" = lib.mkIf (builtins.elem pkgs-unstable.mpv installedPkgs) { | ||||
|             source = ../../../../stow/mpv/.config/mpv; | ||||
|           }; | ||||
|           ".config/zellij" = lib.mkIf (builtins.elem pkgs.zellij installedPkgs) { | ||||
|             source = ../../../../stow/zellij/.config/zellij; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue