Skip to content

syncthing: improvements#8711

Open
Pamplemousse wants to merge 2 commits intonix-community:masterfrom
Pamplemousse:syncthing
Open

syncthing: improvements#8711
Pamplemousse wants to merge 2 commits intonix-community:masterfrom
Pamplemousse:syncthing

Conversation

@Pamplemousse
Copy link
Contributor

@Pamplemousse Pamplemousse commented Feb 8, 2026

Description

  • Slightly more extensive example for the settings options;
  • Assertion to prevent a confusing issue about ineffective configuration: GUI is not password protected when setting a password using the settings.passwordFile option while no user is specified.

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted nixf-diagnose --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

@github-actions github-actions bot added the sync label Feb 8, 2026
@home-manager-ci home-manager-ci bot requested review from aionescu and rycee February 8, 2026 16:52
@me-and
Copy link
Contributor

me-and commented Feb 8, 2026

#8644 is, I think, a more comprehensive approach to the failure to configure effective GUI password control.

Pamplemousse added 2 commits February 8, 2026 20:25
Figuring out how to structure options according to the `syncthing` API
is a bit tedious.
Add some sensible extra options in the provided example.
Follow the principle of "least surprise": fail at build time on
misconfiguration;
GUI is not password protected when setting a password using the
`settings.passwordFile` option while no user is specified.
@Pamplemousse
Copy link
Contributor Author

I completely missed #8644 , thanks @me-and for pointing me towards it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants