chore: niri xwayland-satellite integration

This commit is contained in:
Ryan Yin
2025-08-31 13:04:04 +08:00
parent 3c90833fb4
commit d1eadc6f40
2 changed files with 1 additions and 6 deletions

View File

@@ -38,6 +38,7 @@ in
lib.mkMerge [
{
home.packages = with pkgs; [
# Niri v25.08 will create X11 sockets on disk, export $DISPLAY, and spawn `xwayland-satellite` on-demand when an X11 client connects
xwayland-satellite
];

View File

@@ -272,11 +272,5 @@ niri: {
# (leaf "spring" { damping-ratio=0.6; stiffness=1000; epsilon=0.001; })
])
])
# xwayland
(leaf "spawn-at-startup" "xwayland-satellite")
(plain "environment" [
(leaf "DISPLAY" ":0")
])
];
}