🚀 enables nm_dmenu conditionally
parent
2c071d723a
commit
b47f7ba4f5
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in New Issue