Add PATH to the systemd enviornment

This commit is contained in:
Andreas Zweili 2022-12-22 16:19:05 +01:00
parent 5ba737a062
commit 81302051d6
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
systemctl --user import-environment PATH
systemctl --user restart xdg-desktop-portal.service

View File

@ -46,6 +46,7 @@
# raw config files
home.file.".config/qtile/config.py".source = "${custom.inputs.self}/home-manager/configs/qtile/config.py";
home.file.".config/qtile/autostart.sh".source = "${custom.inputs.self}/home-manager/configs/qtile/autostart.sh";
home.file.".config/qtile/autostart.d/xdg-portal-add-path.sh".source = "${custom.inputs.self}/home-manager/configs/flatpak/xdg-portal-add-path.sh";
programs.bash = {
enable = true;
@ -83,3 +84,4 @@
};
services.network-manager-applet.enable = true;
}