Skip to content

Commit

Permalink
We don't need nm tray on anything other then waybar
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Oct 7, 2023
1 parent a414329 commit 9c3253d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/common/types/workstation/programs/gui.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
config,
...
}: {
environment = {
systemPackages = with pkgs; [
# packages necessery for thunar thumbnails
Expand Down Expand Up @@ -27,6 +31,6 @@
seahorse.enable = true;

# networkmanager tray uility
nm-applet.enable = true;
nm-applet.enable = config.modules.usrEnv.programs.defaults.bar == "waybar";
};
}

0 comments on commit 9c3253d

Please sign in to comment.