restore sway for xwayland support

This commit is contained in:
2026-06-19 14:05:56 +02:00
parent 88d5cb09ac
commit fe3d373e07
2 changed files with 1 additions and 17 deletions
-16
View File
@@ -38,22 +38,6 @@
};
};
xdg.configFile."environment.d/xwayland.conf".text = "DISPLAY=:0\n";
systemd.user.services.xwayland-satellite = {
Unit = {
Description = "Xwayland for niri";
BindsTo = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite";
ExecStartPost = "${pkgs.systemd}/bin/systemctl --user set-environment DISPLAY=:0";
Restart = "on-failure";
};
Install.WantedBy = [ "graphical-session.target" ];
};
home.packages = with pkgs; [
# wayland / desktop
libnotify