From da2d1cbbb241336fa31adb53d05cc6410a165e65 Mon Sep 17 00:00:00 2001 From: osbm Date: Thu, 11 Dec 2025 09:31:15 +0300 Subject: [PATCH] fix xwayland-satellite systemd service --- modules/nixos/system/desktop-environment.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/modules/nixos/system/desktop-environment.nix b/modules/nixos/system/desktop-environment.nix index 3410afc..5063e12 100644 --- a/modules/nixos/system/desktop-environment.nix +++ b/modules/nixos/system/desktop-environment.nix @@ -93,22 +93,19 @@ in swww ]; - # XWayland satellite service for X11 app support systemd.user.services.xwayland-satellite = { - Unit = { - Description = "Xwayland outside Wayland"; - BindsTo = "graphical-session.target"; - After = "graphical-session.target"; - }; - Service = { + description = "Xwayland outside Wayland"; + bindsTo = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { Type = "notify"; NotifyAccess = "all"; ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite"; StandardOutput = "journal"; Restart = "on-failure"; }; - Install.WantedBy = [ "graphical-session.target" ]; }; })