nixpkgs-suyu/pkgs/tools/networking/iwgtk/systemd-service.patch
2022-09-06 16:29:17 -04:00

12 lines
262 B
Diff

--- a/misc/iwgtk.service
+++ b/misc/iwgtk.service
@@ -6,7 +6,8 @@ PartOf=graphical-session.target
After=graphical-session.target
[Service]
-ExecStart=iwgtk -i
+ExecStart=@out@/bin/iwgtk -i
+PassEnvironment=DISPLAY XAUTHORITY
Restart=on-failure
[Install]