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;
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 = {

View file

@ -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 = { };

View file

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