Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gome bowser go
0

Configure Feed

Select the types of activity you want to include in your feed.

Add note about Flatpak + NixOS to README.md

Adds note on how to expose host browsers on NixOS for the flatpak install.

authored by

Draget and committed by
Aly Raffauf
(Mar 18, 2026, 9:55 AM EDT) 482be798 79076749

+14
+14
README.md
··· 60 60 - [Configuration](docs/Configuration.md) - Config file format, rules, and settings. 61 61 - [URI Scheme](docs/URI%20Scheme.md) - Custom `switchyard://` URLs for specifying browser preferences. 62 62 - [Prior Art](docs/Prior%20Art.md) - Similar tools that inspired Switchyard. 63 + 64 + ## Notes 65 + 66 + ### Flaktpak on NixOS: host browsers are not detected 67 + 68 + On NixOS, browser desktop files live in `/run/current-system/sw/share/applications`, which is not visible inside Flatpak by default. 69 + 70 + To expose them to Switchyard, add the path to the XDG application search path: 71 + 72 + ```bash 73 + flatpak override --user io.github.alyraffauf.Switchyard \ 74 + --filesystem=/run/current-system/sw/share:ro \ 75 + --env=XDG_DATA_DIRS=/app/share:/usr/share:/run/current-system/sw/share 76 + ```