forked from hacc/haccfiles
hainich/syncthing:added schwebys Laptop and hacc folder
This commit is contained in:
parent
c79c8413f2
commit
bcd777d425
1 changed files with 26 additions and 5 deletions
|
@ -1,9 +1,30 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
relay.enable = false;
|
relay.enable = false;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
guiAddress = "127.0.0.1:8384";
|
declarative = {
|
||||||
|
devices = {
|
||||||
|
txsbcct = {
|
||||||
|
addresses = []; # empty = dynamic
|
||||||
|
id = "A6SRBZL-CP627PX-4QA55B7-QKJXOMO-UJDXQIV-77OK57V-RXO3CUQ-JIHX7AC";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
folders = {
|
||||||
|
"/var/lib/syncthing/hacc" = {
|
||||||
|
id = "qt2ly-xvvvs";
|
||||||
|
devices = [ "txsbcct" ];
|
||||||
|
type = "receiveonly";
|
||||||
|
versioning = {
|
||||||
|
type = "simple";
|
||||||
|
params.keep = "10";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue