Right now syncthing is enabled on callisto and europa. I want both hosts to connect to each other automatically. The short term fix is to use services.syncthing.overrideDevices = false;, but I'm looking for a more permanent solution, using services.syncthing.settings.devices.<name>.id for each host.
For this to work I need to actually know the id for each device, so I need to move the public/private key pair to sops.
I can then set them for each host with services.syncthing.cert and services.syncthing.key.
I'll either to this in hosts/<host>/home.nix for each one, or use some clever naming like secrets/syncthing/${networking.hostName}.key.pem.
Then I need to fill services.syncthing.settings.devices = {}.
One Problem is my phone, since it's (sadly) not configured with nix.
Right now syncthing is enabled on
callistoandeuropa. I want both hosts to connect to each other automatically. The short term fix is to useservices.syncthing.overrideDevices = false;, but I'm looking for a more permanent solution, usingservices.syncthing.settings.devices.<name>.idfor each host.For this to work I need to actually know the id for each device, so I need to move the public/private key pair to sops.
I can then set them for each host with
services.syncthing.certandservices.syncthing.key.I'll either to this in
hosts/<host>/home.nixfor each one, or use some clever naming likesecrets/syncthing/${networking.hostName}.key.pem.Then I need to fill
services.syncthing.settings.devices = {}.One Problem is my phone, since it's (sadly) not configured with nix.