feat(waybar): Add individual module
This commit is contained in:
		
							parent
							
								
									3d4cd5ba5c
								
							
						
					
					
						commit
						6005ee646c
					
				
					 4 changed files with 37 additions and 21 deletions
				
			
		
							
								
								
									
										18
									
								
								nixos/modules/desktop/waybar/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								nixos/modules/desktop/waybar/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   cfg = config.sisyphus.desktop.waybar; | ||||
| in { | ||||
|   options.sisyphus.desktop.waybar.enable = lib.mkEnableOption "Waybar"; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|       libnotify | ||||
|       playerctl | ||||
|       jq | ||||
|       j4-dmenu-desktop | ||||
|     ]; | ||||
| 
 | ||||
|     programs.waybar.enable = true; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue