hainich/syncthing: fixed indentation
This commit is contained in:
parent
bcd777d425
commit
2ed4b71940
1 changed files with 24 additions and 24 deletions
|
@ -1,30 +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;
|
||||||
declarative = {
|
declarative = {
|
||||||
devices = {
|
devices = {
|
||||||
txsbcct = {
|
txsbcct = {
|
||||||
addresses = []; # empty = dynamic
|
addresses = []; # empty = dynamic
|
||||||
id = "A6SRBZL-CP627PX-4QA55B7-QKJXOMO-UJDXQIV-77OK57V-RXO3CUQ-JIHX7AC";
|
id = "A6SRBZL-CP627PX-4QA55B7-QKJXOMO-UJDXQIV-77OK57V-RXO3CUQ-JIHX7AC";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
folders = {
|
folders = {
|
||||||
"/var/lib/syncthing/hacc" = {
|
"/var/lib/syncthing/hacc" = {
|
||||||
id = "qt2ly-xvvvs";
|
id = "qt2ly-xvvvs";
|
||||||
devices = [ "txsbcct" ];
|
devices = [ "txsbcct" ];
|
||||||
type = "receiveonly";
|
type = "receiveonly";
|
||||||
versioning = {
|
versioning = {
|
||||||
type = "simple";
|
type = "simple";
|
||||||
params.keep = "10";
|
params.keep = "10";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue