🚀 enables nm_dmenu conditionally

This commit is contained in:
Moritz Böhme 2022-01-09 14:11:55 +01:00
parent 2c071d723a
commit b47f7ba4f5

View file

@ -8,7 +8,10 @@
package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; }; package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; };
theme = ./dracula.rasi; theme = ./dracula.rasi;
}; };
home.packages = with pkgs; [ networkmanager_dmenu ]; home.packages = with pkgs;
[
(lib.mkIf config.networking.networkmanager.enable networkmanager_dmenu)
];
xdg = { xdg = {
enable = true; enable = true;
configFile."networkmanager-dmenu/config.ini".text = '' configFile."networkmanager-dmenu/config.ini".text = ''