hardware/gps: fix formatting
This commit is contained in:
parent
4c8ffa90a9
commit
2b6e1f515f
@ -38,9 +38,9 @@ in
|
|||||||
wantedBy = [ "geoclue.service" "multi-user.target" ];
|
wantedBy = [ "geoclue.service" "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
RuntimeDirectory = "gpsd-nmea";
|
RuntimeDirectory = "gpsd-nmea";
|
||||||
ExecStart = pkgs.writeShellScript "gpsd-nmea-bridge" "
|
ExecStart = pkgs.writeShellScript "gpsd-nmea-bridge" ''
|
||||||
exec socat -U UNIX-LISTEN:\${RUNTIME_DIRECTORY}/nmea.sock,fork,reuseaddr,mode=777 SYSTEM:'gpspipe -Br | stdbuf -oL tail -n+4'
|
exec socat -U UNIX-LISTEN:''${RUNTIME_DIRECTORY}/nmea.sock,fork,reuseaddr,mode=777 SYSTEM:'gpspipe -Br | stdbuf -oL tail -n+4'
|
||||||
";
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.gpsd.enable = lib.mkIf cfg.gpsdBridge true;
|
services.gpsd.enable = lib.mkIf cfg.gpsdBridge true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user