uargh syncthing pls

This commit is contained in:
serenity-F 2025-04-04 00:19:21 +10:00
parent 0a28608bc3
commit be8eba9e50
2 changed files with 24 additions and 27 deletions

View file

@ -34,7 +34,7 @@
## Syncthing ## Syncthing
syncthing = { syncthing = {
enable = true; # easy toggle enable = false; # easy toggle
dataDir = "${homeDir}"; # defaults to primaryUser's homedir dataDir = "${homeDir}"; # defaults to primaryUser's homedir
openDefaultPorts = true; # opens the default firewall ports openDefaultPorts = true; # opens the default firewall ports
#configDir = "${homeDir}/.config/syncthing"; # defaults to primaryUser's homedir #configDir = "${homeDir}/.config/syncthing"; # defaults to primaryUser's homedir
@ -56,7 +56,7 @@
id = "k158k-hvzk3"; id = "k158k-hvzk3";
path = "${homeDir}/Keyring"; # defaults to primaryUser's homedir path = "${homeDir}/Keyring"; # defaults to primaryUser's homedir
devices = [ devices = [
"Hecate" #"Hecate"
#"Persephone" #"Persephone"
]; ];
#versioning = { # versioning, for added redundancy #versioning = { # versioning, for added redundancy
@ -71,7 +71,7 @@
id = "h0ay3-l8snk"; id = "h0ay3-l8snk";
path = "${homeDir}/Notes"; # defaults to primaryUser's homedir path = "${homeDir}/Notes"; # defaults to primaryUser's homedir
devices = [ devices = [
"Hecate" #"Hecate"
#"Persephone" #"Persephone"
]; ];
#versioning = { # versioning, for added redundancy #versioning = { # versioning, for added redundancy
@ -85,17 +85,14 @@
## Syncthing Devices ## Syncthing Devices
#overrideDevices = true; # force these devices on activation #overrideDevices = true; # force these devices on activation
devices = #devices = #{ # all syncthing devices listed - 'boilerplate' for other hosts
{ # all syncthing devices listed - 'boilerplate' for other hosts #"Orcus".id = "REALLY-LONG-ORCUS-SYNCTHING-KEY-HERE"; # disabled for testing
#"Hades".id =
#"Orcus".id = "REALLY-LONG-ORCUS-SYNCTHING-KEY-HERE"; # disabled for testing #"L2XWTY6-ATLIQM4-WVRA5JO-Y7RREI5-FBYSOQM-XB3WA4I-F2VHDKG-B2YPJAY";
"Hades".id = #"Hecate".id =
"L2XWTY6-ATLIQM4-WVRA5JO-Y7RREI5-FBYSOQM-XB3WA4I-F2VHDKG-B2YPJAY"; #"36WUSM4-HFYOGWP-33JHBPI-WR2TXXE-ZX3PFMB-QH6BMXM-DQ523ZF-FD7M3AI";
"Hecate".id = #"Persephone".id = "REALLY-LONG-PERSEPHONE-SYNCTHING-KEY-HERE"; # disabled for testing
"36WUSM4-HFYOGWP-33JHBPI-WR2TXXE-ZX3PFMB-QH6BMXM-DQ523ZF-FD7M3AI"; #};
#"Persephone".id = "REALLY-LONG-PERSEPHONE-SYNCTHING-KEY-HERE"; # disabled for testing
};
}; };
}; };
}; };

View file

@ -21,16 +21,16 @@
#fileSystems."/run/media/${primaryUser}/Asphodel".device = #fileSystems."/run/media/${primaryUser}/Asphodel".device =
#"/dev/mapper/Asphodel"; #"/dev/mapper/Asphodel";
home.file = { # Files and directories to copy to ${homeDir} #home.file = { # Files and directories to copy to ${homeDir}
## Example format for home.file ## Example format for home.file
#"Foo" = { # Name for the copied file #"Foo" = { # Name for the copied file
#source = ./Foo; # Source is relative to this file #source = ./Foo; # Source is relative to this file
#target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDir} #target = "Desired/Path/To/Foo"; # Target path for Foo within ${homeDir}
#recursive = true; # Unsure if necessary for most things #recursive = true; # Unsure if necessary for most things
#}; #};
}; #};
## Related services ## Related services
services = { services = {
@ -46,11 +46,11 @@
}; };
## Syncthing program service ## Syncthing program service
syncthing = { #syncthing = {
enable = false; #enable = false;
#tray.enable = true; #tray.enable = true;
#guiAddress = "home.syncthing:8384"; #guiAddress = "home.syncthing:8384";
}; #};
}; };