diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/desktops/hyprland/env.nix | 1 | ||||
-rw-r--r-- | modules/desktops/sway/default.nix | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modules/desktops/hyprland/env.nix b/modules/desktops/hyprland/env.nix index 93d99fb..aff3f93 100644 --- a/modules/desktops/hyprland/env.nix +++ b/modules/desktops/hyprland/env.nix @@ -6,6 +6,7 @@ "XDG_SESSION_TYPE,wayland" "XDG_SESSION_DESKTOP,Hyprland" "MOZ_ENABLE_WAYLAND,1" + "NIXOS_OZONE_WL,1" "HYPRCURSOR_THEME,rose-pine-hyprcursor" "HYPRCURSOR_SIZE,24" diff --git a/modules/desktops/sway/default.nix b/modules/desktops/sway/default.nix index 9ee79de..be3766d 100644 --- a/modules/desktops/sway/default.nix +++ b/modules/desktops/sway/default.nix @@ -16,6 +16,8 @@ in { config = mkIf cfg.sway { desktops.wayland = true; + # TODO: set NIXOS_OZONE_WL env var + xdg.portal = { config = { sway.common = ["gtk" "wlr"]; @@ -39,7 +41,7 @@ in { enable = true; package = pkgs.swayfx; - # FIXME: this is bad, but swayfx cannot build if set :( + # TODO: get swayfx to work with check config checkConfig = false; xwayland = true; |