syncthing changes

This commit is contained in:
Henri Dohmen 2026-04-04 17:39:41 +02:00
parent bd718d82b2
commit 456049ca7a
2 changed files with 10 additions and 2 deletions

View file

@ -7,6 +7,8 @@ in
enable = true;
inherit guiAddress;
settings.gui.insecureSkipHostcheck = true;
settings.folders.sync = {
path = "/data/sync/documents-hd";
type = "receiveencrypted";

View file

@ -1,6 +1,5 @@
{
lib,
var,
config,
...
}:
@ -8,16 +7,23 @@ lib.mkIf config.hd.desktop.syncthing.enable {
services.syncthing = {
enable = lib.mkDefault true;
user = "hd";
# The `sync` folder is further configured in mod/syncthing.nix (devices, encryption, versioning).
settings.folders = {
sync = {
path = "/home/hd/Sync";
type = "sendreceive";
};
keepass = {
id = "keepass";
path = "/home/hd/Sync/KeePassXC";
type = "sendreceive";
devices = [ "p9" ];
};
supernote-note = {
id = "supernote-note";
path = "/home/hd/Sync/Dokumente/Supernote/Notizen";
type = "sendreceive";
devices = var.syncthing.device-names.desktops ++ [ "supernote" ];
devices = [ "supernote" ];
versioning = {
type = "simple";
params.keep = "10";