diff options
Diffstat (limited to 'home/wm/waybar')
-rw-r--r-- | home/wm/waybar/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/wm/waybar/default.nix b/home/wm/waybar/default.nix index c1bf601..1aab182 100644 --- a/home/wm/waybar/default.nix +++ b/home/wm/waybar/default.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: let isEnabled = config.my.home.wm.windowManager == "sway"; -in { +in +{ config = lib.mkIf isEnabled { programs.waybar = { enable = true; |