🚀 enables nm_dmenu conditionally
This commit is contained in:
parent
2c071d723a
commit
b47f7ba4f5
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue