diff --git a/docs/WORKAROUNDS.md b/docs/WORKAROUNDS.md index a21e4236..d3f6f8f1 100644 --- a/docs/WORKAROUNDS.md +++ b/docs/WORKAROUNDS.md @@ -46,7 +46,7 @@ A setting that works around a bug or a hardware quirk. | WA-039 | niri's NVIDIA free-buffer pool bounded (`GLVidHeapReuseRatio` 0) — `hosts/idols-ai/hardware-nvidia.nix` | the driver does not return freed vidmem buffers to its free pool, so niri's VRAM grows to ~1.1 GiB instead of the ~100 MiB its NVIDIA notes expect (measured 1137 MiB after 24 h uptime; [NVIDIA/egl-wayland#126](https://github.com/NVIDIA/egl-wayland/issues/126)) | Drop once a driver stops growing niri's VRAM without the profile, or niri ships its own default | 2026-10-19 | on an nvidia driver bump | active | | WA-041 | Monitor OSD "no-signal auto power-off" disabled — no code in this repo (the P32A2V OSD setting) | during a DPMS-off idle the panel drops and re-adds HPD every ~13 s, and after wake niri keeps scanning out while the panel stays dark until the monitor is power cycled; the panel's own auto power-off drives that state, so it is now disabled. Pinning the mode to 120 Hz did not change the symptom | Drop once a driver retrains the DP link after a DPMS wake, the monitor firmware stops cycling HPD, or this monitor is replaced | 2026-10-21 | confirm on the next full idle cycle, then on an nvidia or monitor firmware update | active | | WA-042 | Colmena nodes set `system.nixos.versionSuffix` and `revision` from the flake's lib — `outputs/default.nix` (`rawColmenaHive`) | Colmena evaluates each node with nixpkgs' `eval-config.nix` and plain lib, which reports `26.11pre-git`, so without the override a Colmena deploy differs from the `nixosConfigurations` toplevel; the `colmena-parity` eval test guards the match | Drop once Colmena evaluates nodes with the flake's lib or accepts `nixosConfigurations` directly, keeping `colmena-parity` green | 2026-10-21 | on a colmena bump | active | -| WA-046 | xdg-desktop-portal-wlr pinned to 0.8.2 — `modules/nixos/desktop/xdg.nix` | niri's GNOME ScreenCast path exposes only DMA-BUF with modifiers, which Zoom 7.2.1 rejects; xdg-desktop-portal-wlr 0.8.2 provides the working SHM path, while 0.8.4 regresses Zoom's SelectSources. | Drop once niri's ScreenCast path works with Zoom or xdg-desktop-portal-wlr 0.8.4+ is fixed. | 2026-10-31 | eval assertion, or on a Zoom update | active | +| WA-046 | niri's ScreenCast routed to xdg-desktop-portal-wlr — `modules/nixos/desktop/xdg.nix` | niri's GNOME ScreenCast path exposes only DMA-BUF with modifiers, which Zoom 7.2.1 rejects; xdg-desktop-portal-wlr provides an SHM path | Drop once niri's ScreenCast path works with Zoom | 2026-10-31 | on a niri or Zoom update | active | | WA-048 | Nixpak GUI fontconfig comes from the host — `hardening/nixpaks/modules/desktop-base.nix` | Nixpak normally generates a standalone `/etc/fonts` and font package list for each sandbox; that bypasses the host `defaultFonts` and made browser chrome, Telegram, QQ and other sandboxed apps choose a different CJK fallback from the host. The wrapper now disables Nixpak fonts and bind-mounts `/etc/static/fonts` at `/etc/fonts`, so sandboxed GUI apps reuse the host font packages and family preferences through the already-mounted `/nix/store`. | Drop once Nixpak can directly reuse the host fontconfig or no longer overrides `/etc/fonts`, then remove the bind and restore the library-supported configuration path | 2026-11-01 | on a nixpak update | active | | WA-050 | polkit agent-helper sandbox opened for pam_u2f — `modules/nixos/desktop/canokey.nix` | nixpkgs relaxes `polkit-agent-helper@`'s `PrivateDevices`/`ProtectHome` for pam_u2f only when the global `security.pam.u2f.enable` is set; this repo enables U2F per service (sudo, polkit-1) so other PAM services keep the password, and without the override pam_u2f cannot reach `/dev/hidraw*` and polkit silently falls back to the password | Drop once nixpkgs' `polkit.nix` also checks per-service `u2f.enable` | 2026-11-09 | on a nixpkgs bump | active | | WA-051 | Steam on the raw session bus, nixpak's D-Bus proxy off — `hardening/nixpaks/steam.nix` | Steam's SteamRT3 client starts pressure-vessel, which wraps any bus path other than `$XDG_RUNTIME_DIR/bus` in a second D-Bus proxy; the launcher-service RPC (`steam-runtime-launch-client --alongside-steam -- lspci`) never crosses that nesting, so the client hangs before its window with no error. On the standard path pressure-vessel binds the bus directly and Steam starts; the cost is that Steam can reach every name on the session bus | Drop once nixpak can expose its proxy at `$XDG_RUNTIME_DIR/bus` (or pressure-vessel stops nesting proxies), so the filtered bus comes back | 2026-11-14 | on a nixpak or Steam client update | active | diff --git a/modules/nixos/desktop/xdg.nix b/modules/nixos/desktop/xdg.nix index 0ef780dd..b2be75bf 100644 --- a/modules/nixos/desktop/xdg.nix +++ b/modules/nixos/desktop/xdg.nix @@ -1,9 +1,4 @@ -{ - lib, - pkgs, - pkgs-stable, - ... -}: +{ lib, pkgs, ... }: { xdg.terminal-exec = { enable = true; @@ -44,6 +39,7 @@ "gnome" ]; }; + # niri's own ScreenCast offers only DMA-BUF, which Zoom rejects; wlr has SHM (WA-046). niri."org.freedesktop.impl.portal.ScreenCast" = "wlr"; }; @@ -58,16 +54,9 @@ extraPortals = with pkgs; [ xdg-desktop-portal-gtk # file picker and OpenURI xdg-desktop-portal-gnome # screenshot and remaining GNOME services - # xdg-desktop-portal-wlr 0.8.4 regresses Zoom; 0.8.2 works with niri. - pkgs-stable.xdg-desktop-portal-wlr + xdg-desktop-portal-wlr # ScreenCast on niri ]; }; - assertions = [ - { - assertion = pkgs.xdg-desktop-portal-wlr.version == "0.8.4"; - message = "nixpkgs moved xdg-desktop-portal-wlr past 0.8.4: retest Zoom with it and drop the 0.8.2 pin (WA-046)"; - } - ]; # The xdg-autostart-generator starts every autostart app (including nixpak # sandboxes like firefox/telegram) right at graphical-session.target, while