diff --git a/niri.nix b/niri.nix index 3da3bd5..bc99798 100644 --- a/niri.nix +++ b/niri.nix @@ -38,6 +38,19 @@ }; }; + 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"; + Restart = "on-failure"; + }; + Install.WantedBy = [ "graphical-session.target" ]; + }; + home.packages = with pkgs; [ # wayland / desktop libnotify