chore: disable syncthing

This commit is contained in:
Luj 2024-05-21 22:49:37 +02:00
parent 744c82faba
commit d7c617b55e
Signed by: luj
GPG key ID: 6FC74C847011FD83
2 changed files with 15 additions and 63 deletions

View file

@ -155,30 +155,6 @@
};
};
services.syncthing = {
enable = true;
user = "julien";
group = "users";
overrideDevices = true;
overrideFolders = true;
settings = {
devices = {
"fischer" = {
id = "MHV2PGN-GAHQMV5-ITXGNQS-IRJC3XL-OQIHVUX-JVKBZ6Z-33XHE7H-NC6H5AE";
};
};
folders = {
"dev" = {
# Name of folder in Syncthing, also the folder ID
path = "/home/julien/dev"; # Which folder to add to Syncthing
devices = [ "fischer" ]; # Which devices to share the folder with
};
};
};
};
systemd.services.syncthing.serviceConfig.StateDirectory = "syncthing";
networking.firewall.allowedTCPPorts = [
80
443