basic syncthing setup
This commit is contained in:
parent
2ea36eb62d
commit
7d5f348163
1 changed files with 23 additions and 0 deletions
|
@ -6,6 +6,29 @@
|
|||
openDefaultPorts = true;
|
||||
package =
|
||||
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 = {
|
||||
options = {
|
||||
listenAddresses = [
|
||||
|
|
Loading…
Reference in a new issue