1
Fork 0

Fixed big syncthing oopsie

This commit is contained in:
Matei Adriel 2023-07-18 18:11:07 +03:00
parent 4922fc2542
commit cf255939d5
No known key found for this signature in database
3 changed files with 13 additions and 16 deletions

View file

@ -16,7 +16,9 @@ in
overrideFolders = true; overrideFolders = true;
devices = { 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 = { extraOptions = {

View file

@ -4,7 +4,6 @@
networking.firewall.allowedTCPPorts = [ 8384 ]; networking.firewall.allowedTCPPorts = [ 8384 ];
services.syncthing = { services.syncthing = {
devices.lapetus.id = "VVHM7RC-ZSDOZJI-EGBIJR4-2DOGAXG-OEJZWSH-OYUK5XT-7CDMWSL-3AVM2AZ";
guiAddress = "0.0.0.0:8384"; # TODO: put this behind nginx guiAddress = "0.0.0.0:8384"; # TODO: put this behind nginx
folders = { }; folders = { };

View file

@ -1,10 +1,7 @@
{ {
imports = [ ../../common/optional/syncthing.nix ]; imports = [ ../../common/optional/syncthing.nix ];
services.syncthing = { services.syncthing.folders = {
devices.tethys.id = "NGHX5G4-IY3ZXL2-NQMMRQV-2GDQLC6-LIDWSNG-DAJUAQH-KBAP64V-55K2LQ6";
folders = {
"stellar-sanctum" = { "stellar-sanctum" = {
path = "/home/adrielus/Projects/stellar-sanctum/"; path = "/home/adrielus/Projects/stellar-sanctum/";
devices = [ "enceladus" "lapetus" ]; devices = [ "enceladus" "lapetus" ];
@ -19,5 +16,4 @@
}; };
}; };
}; };
};
} }