Import PATH into systemd environment for xdg-desktop-portals

This commit is contained in:
Natsu Kagami 2024-06-11 18:30:00 +02:00
parent c02946aba3
commit cbb496cb47
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -124,6 +124,12 @@ in
config.wayland.windowManager.sway = mkIf cfg.enable {
enable = true;
systemd.enable = true;
systemd.variables = [
"PATH" # for portals
];
systemd.extraCommands = [
"systemctl --user restart xdg-desktop-portals.service"
];
checkConfig = false; # Not working atm
config = {