Import PATH into systemd environment for xdg-desktop-portals
This commit is contained in:
parent
c02946aba3
commit
cbb496cb47
|
@ -124,6 +124,12 @@ in
|
||||||
config.wayland.windowManager.sway = mkIf cfg.enable {
|
config.wayland.windowManager.sway = mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
systemd.variables = [
|
||||||
|
"PATH" # for portals
|
||||||
|
];
|
||||||
|
systemd.extraCommands = [
|
||||||
|
"systemctl --user restart xdg-desktop-portals.service"
|
||||||
|
];
|
||||||
|
|
||||||
checkConfig = false; # Not working atm
|
checkConfig = false; # Not working atm
|
||||||
config = {
|
config = {
|
||||||
|
|
Loading…
Reference in a new issue