basic syncthing setup

This commit is contained in:
Cyryl Płotnicki 2022-07-22 14:37:57 +01:00
parent 2ea36eb62d
commit 7d5f348163

View file

@ -6,6 +6,29 @@
openDefaultPorts = true; openDefaultPorts = true;
package = package =
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing; inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
overrideDevices = false;
devices = {
"OnePlus9" = {
id = "2UVDAHX-IWQEBLF-6VOYLWO-MYQBMO2-62QPM76-CFYPPZW-CWVIBZF-JEUS4QZ";
};
};
folders = {
"/home/cyryl/vaults" = {
id = "vaults";
label = "vaults";
devices = [ "OnePlus9" ];
};
"/home/cyryl/documents" = {
id = "documents";
label = "documents";
devices = [ "OnePlus9" ];
};
"/home/cyryl/camera" = {
id = "camera";
label = "camera";
devices = [ "OnePlus9" ];
};
};
extraOptions = { extraOptions = {
options = { options = {
listenAddresses = [ listenAddresses = [