diff --git a/home/tmux/default.nix b/home/tmux/default.nix index 15becfb..88b35fb 100644 --- a/home/tmux/default.nix +++ b/home/tmux/default.nix @@ -1,7 +1,10 @@ { config, lib, pkgs, ... }: let cfg = config.my.home.tmux; - hasGUI = config.my.home.x.enable || (config.my.home.wm != null); + hasGUI = lib.any lib.id [ + config.my.home.x.enable + (config.my.home.wm.windowManager != null) + ]; in { options.my.home.tmux = with lib.my; {