summaryrefslogtreecommitdiff
path: root/modules/desktops/sway/default.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-07-22 20:29:23 -0400
committerFreya Murphy <freya@freyacat.org>2025-07-22 20:29:23 -0400
commit25c2516702a7a0cf061b827519164438d8c7cfa2 (patch)
tree4ae22260ab5b3c0e42563b34307fec56bcdbf139 /modules/desktops/sway/default.nix
parentupdate commits (diff)
downloaddotfiles-nix-25c2516702a7a0cf061b827519164438d8c7cfa2.tar.gz
dotfiles-nix-25c2516702a7a0cf061b827519164438d8c7cfa2.tar.bz2
dotfiles-nix-25c2516702a7a0cf061b827519164438d8c7cfa2.zip
use NIXOS_OZONE_WL instead of manually setting ozone flags
Diffstat (limited to '')
-rw-r--r--modules/desktops/sway/default.nix4
1 files changed, 3 insertions, 1 deletions
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;