mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +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:
parent
1a4f12ae0b
commit
080222601a
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,7 @@ in {
|
||||||
* {env}`NIXOS_OZONE_WL`
|
* {env}`NIXOS_OZONE_WL`
|
||||||
* {env}`XCURSOR_THEME`
|
* {env}`XCURSOR_THEME`
|
||||||
* {env}`XCURSOR_SIZE`
|
* {env}`XCURSOR_SIZE`
|
||||||
|
* {env}`PATH`
|
||||||
You can extend this list using the `systemd.variables` option.
|
You can extend this list using the `systemd.variables` option.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -402,6 +403,7 @@ in {
|
||||||
"NIXOS_OZONE_WL"
|
"NIXOS_OZONE_WL"
|
||||||
"XCURSOR_THEME"
|
"XCURSOR_THEME"
|
||||||
"XCURSOR_SIZE"
|
"XCURSOR_SIZE"
|
||||||
|
"PATH"
|
||||||
];
|
];
|
||||||
example = [ "-all" ];
|
example = [ "-all" ];
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Reference in a new issue