diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index e93dd73b..9487be96 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -71,7 +71,10 @@ }; wayland.windowManager.sway.enable = true; - wayland.windowManager.sway.package = lib.mkDefault pkgs.swayfx; + wayland.windowManager.sway.package = + if config.alyraffauf.desktop.sway.tabletMode.enable + then pkgs.sway + else pkgs.swayfx; wayland.windowManager.sway.wrapperFeatures.gtk = true; wayland.windowManager.sway.checkConfig = false;