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" ]; }; })