Fix and enable Syncthing with newer options
This commit is contained in:
parent
dec811f48e
commit
3a54ab7581
2 changed files with 26 additions and 26 deletions
|
@ -1,8 +1,6 @@
|
|||
{ ... }:
|
||||
# TODO:
|
||||
# - Setup certificates and keys declaratively? This will be a real possibility of depending on my SSH key for a whole lotta stuff. Perhaps keep that for future
|
||||
# - Add more folders and devices in declarative way
|
||||
# - Make ALL the devices use this declaratively :)
|
||||
{
|
||||
imports = [
|
||||
../../modules/common-syncthing.nix
|
||||
|
@ -20,6 +18,7 @@
|
|||
# Always use this in combination with above networing config to limit the access from outside LAN
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
|
||||
settings = {
|
||||
folders = {
|
||||
Keepass = {
|
||||
devices = [ "hermes" "Childish Tycoon" ];
|
||||
|
@ -51,4 +50,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
# - Make ALL the nodes use this declaratively :)
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
user = payas;
|
||||
group = payas;
|
||||
|
|
Reference in a new issue