1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

sway: add PATH to systemd.variables

Flatpak apps use xdg-desktop-portals to open e.g. links in the default
browser.
For this to work, the xdg-desktop-portal user service needs the PATH
environment variable to be set correctly.
See the following issue and especially the linked comment for details:
https://github.com/NixOS/nixpkgs/issues/189851#issuecomment-1238907955
This commit is contained in:
greenpsi 2024-06-26 14:25:24 +02:00
parent 1a4f12ae0b
commit 080222601a

View file

@ -387,6 +387,7 @@ in {
* {env}`NIXOS_OZONE_WL`
* {env}`XCURSOR_THEME`
* {env}`XCURSOR_SIZE`
* {env}`PATH`
You can extend this list using the `systemd.variables` option.
'';
};
@ -402,6 +403,7 @@ in {
"NIXOS_OZONE_WL"
"XCURSOR_THEME"
"XCURSOR_SIZE"
"PATH"
];
example = [ "-all" ];
description = ''