Syncthing on sesame

This commit is contained in:
Julien Hémono 2025-05-01 11:14:02 +02:00
parent 85c10ea391
commit 8c2a444b44
2 changed files with 19 additions and 0 deletions

View file

@ -17,6 +17,7 @@
./forgejo.nix
./transmission.nix
./lemorillon.nix
./syncthing.nix
];
# Boot configuration

View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
{
services.syncthing = {
enable = true;
openDefaultPorts = true;
settings.devices = {
"ONEPLUS A5010" = {
id = "XDBD7VO-R563TI5-DJ75F3W-6LGYD4R-BPVAID2-YEMATLF-C3TQD5M-3IGGBAW";
autoAcceptFolders = true;
};
"gwiad" = {
id = "PMFIG7X-CBRWO2U-MKUP5AT-SMJHICC-IXQQRPB-5JUF4GX-CIL7TFR-XWEMSQI";
autoAcceptFolders = true;
};
};
};
}