🚀 enables nm_dmenu conditionally

dev-docs
Moritz Böhme 2022-01-09 14:11:55 +01:00
parent 2c071d723a
commit b47f7ba4f5
1 changed files with 4 additions and 1 deletions

View File

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