We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring service.syncthing.devices with special characters (like ') causes the Syncthing service to fail:
service.syncthing.devices
'
systemd[1]: Starting Syncthing configuration updater... cg9zpg3j8j0ank9l6skk1swqc9z1ga94-merge-syncthing-config[6402]: /nix/store/cg9zpg3j8j0ank9l6skk1swqc9z1ga94-merge-syncthing-config: 41: Syntax error: Unterminated quoted string systemd[1]: syncthing-init.service: Main process exited, code=exited, status=2/INVALIDARGUMENT systemd[1]: syncthing-init.service: Failed with result 'exit-code'. systemd[1]: Failed to start Syncthing configuration updater.
services.syncthing = { enable = true; devices."Bob's your uncle".id = "..."; };
Device names may be any string that Syncthing supports via its UI. Syncthing does support '.
(guessing based on blame) @ncfavier @bjornfor @Lassulus
blame
"armv7l-linux"
Linux 6.1.31, NixOS, 23.05 (Stoat), 23.05.19700101.dirty
The text was updated successfully, but these errors were encountered:
Could you confirm #239427 fixes the issue?
#230196 would also fix it
Sorry, something went wrong.
Yep, #239427 fixes it. Thanks!
Successfully merging a pull request may close this issue.
Describe the bug
Configuring
service.syncthing.devices
with special characters (like'
) causes the Syncthing service to fail:Steps To Reproduce
Expected behavior
Device names may be any string that Syncthing supports via its UI. Syncthing does support
'
.Notify maintainers
(guessing based on
blame
) @ncfavier @bjornfor @LassulusMetadata
"armv7l-linux"
Linux 6.1.31, NixOS, 23.05 (Stoat), 23.05.19700101.dirty
The text was updated successfully, but these errors were encountered: