depot/third_party/nixpkgs/pkgs/tools/networking/iwgtk/systemd-service.patch

13 lines
262 B
Diff
Raw Normal View History

--- 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]