Fixed big syncthing oopsie
This commit is contained in:
parent
4922fc2542
commit
cf255939d5
|
@ -16,7 +16,9 @@ in
|
|||
overrideFolders = true;
|
||||
|
||||
devices = {
|
||||
"enceladus" = { id = "QWOAERM-V2FNXPI-TB7NFUS-LKW7JTB-IZY4OEZ-FYDPJNP-6IKPW4Y-YREXDQM"; };
|
||||
enceladus.id = "QWOAERM-V2FNXPI-TB7NFUS-LKW7JTB-IZY4OEZ-FYDPJNP-6IKPW4Y-YREXDQM";
|
||||
lapetus.id = "VVHM7RC-ZSDOZJI-EGBIJR4-2DOGAXG-OEJZWSH-OYUK5XT-7CDMWSL-3AVM2AZ";
|
||||
tethys.id = "NGHX5G4-IY3ZXL2-NQMMRQV-2GDQLC6-LIDWSNG-DAJUAQH-KBAP64V-55K2LQ6";
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
networking.firewall.allowedTCPPorts = [ 8384 ];
|
||||
|
||||
services.syncthing = {
|
||||
devices.lapetus.id = "VVHM7RC-ZSDOZJI-EGBIJR4-2DOGAXG-OEJZWSH-OYUK5XT-7CDMWSL-3AVM2AZ";
|
||||
guiAddress = "0.0.0.0:8384"; # TODO: put this behind nginx
|
||||
|
||||
folders = { };
|
||||
|
|
|
@ -1,21 +1,17 @@
|
|||
{
|
||||
imports = [ ../../common/optional/syncthing.nix ];
|
||||
|
||||
services.syncthing = {
|
||||
devices.tethys.id = "NGHX5G4-IY3ZXL2-NQMMRQV-2GDQLC6-LIDWSNG-DAJUAQH-KBAP64V-55K2LQ6";
|
||||
services.syncthing.folders = {
|
||||
"stellar-sanctum" = {
|
||||
path = "/home/adrielus/Projects/stellar-sanctum/";
|
||||
devices = [ "enceladus" "lapetus" ];
|
||||
|
||||
folders = {
|
||||
"stellar-sanctum" = {
|
||||
path = "/home/adrielus/Projects/stellar-sanctum/";
|
||||
devices = [ "enceladus" "lapetus" ];
|
||||
|
||||
# TODO: remove this once I switch to zfs
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600"; # 1 hour in seconds
|
||||
maxAge = "604800"; # 14 days in seconds.
|
||||
};
|
||||
# TODO: remove this once I switch to zfs
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600"; # 1 hour in seconds
|
||||
maxAge = "604800"; # 14 days in seconds.
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue