Update syncthing expressions for new API
extraOptions -> settings devices -> settings.devices folders -> settings.folders
This commit is contained in:
parent
af8b3cd935
commit
ca40907095
|
@ -1 +1 @@
|
|||
{"flagWords":[],"words":["Hyprland","Gitea","Nextcloud","NIXOS","NVIM","HOMEMANAGER","pkgs","nixpkgs","waybar","Dexperimental","gvfs","wezterm","bitwarden","marktext","zotero","traefik","websecure","macchiato","catppuccin"],"language":"en","version":"0.2"}
|
||||
{"flagWords":[],"words":["Hyprland","Gitea","Nextcloud","NIXOS","NVIM","HOMEMANAGER","pkgs","nixpkgs","waybar","Dexperimental","gvfs","wezterm","bitwarden","marktext","zotero","traefik","websecure","macchiato","catppuccin","syncthing"],"language":"en","version":"0.2"}
|
||||
|
|
|
@ -4,21 +4,21 @@
|
|||
user = "elitherl";
|
||||
group = "users";
|
||||
dataDir = "/home/elitherl";
|
||||
folders = {
|
||||
Sync = {
|
||||
path = "/home/elitherl/Sync";
|
||||
label = "UKAEA";
|
||||
id = "fwzht-j7hrc";
|
||||
devices = ["ion"];
|
||||
ignorePerms = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
extraOptions = {
|
||||
settings = {
|
||||
options = {
|
||||
globalAnnounceEnabled = true;
|
||||
localAnnounceEnabled = true;
|
||||
};
|
||||
folders = {
|
||||
Sync = {
|
||||
path = "/home/elitherl/Sync";
|
||||
label = "UKAEA";
|
||||
id = "fwzht-j7hrc";
|
||||
devices = ["ion"];
|
||||
ignorePerms = true;
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
user = "xenia";
|
||||
group = "users";
|
||||
dataDir = "/mnt/secondary/syncthing";
|
||||
folders = {
|
||||
settings.folders = {
|
||||
"Archive" = {
|
||||
path = "/mnt/secondary/syncthing/archive";
|
||||
devices = ["ion" "monarch" "northstar"];
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
enable = true;
|
||||
systemService = true;
|
||||
openDefaultPorts = true;
|
||||
extraOptions = {
|
||||
settings = {
|
||||
options = {
|
||||
globalAnnounceEnabled = lib.mkDefault false;
|
||||
localAnnounceEnabled = lib.mkDefault true;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{...}: {
|
||||
services.syncthing.devices."H0615" = {id = "VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF";};
|
||||
services.syncthing.settings.devices."H0615" = {id = "VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF";};
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{...}: {
|
||||
services.syncthing.devices."ion" = {id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB";};
|
||||
services.syncthing.settings.devices."ion" = {id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB";};
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{...}: {
|
||||
services.syncthing.devices."monarch" = {id = "CJSUZQY-67XBLEZ-VKVHQHI-BLEUZNF-G4237AV-AW44CGH-F3JDKXU-CWT3RQZ";};
|
||||
services.syncthing.settings.devices."monarch" = {id = "CJSUZQY-67XBLEZ-VKVHQHI-BLEUZNF-G4237AV-AW44CGH-F3JDKXU-CWT3RQZ";};
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{...}: {
|
||||
services.syncthing.devices."northstar" = {id = "DMQZNMB-BM3SSE4-5XV2GHE-IDRNFTS-QNZSICS-6JWHUCV-O3NHMWY-2OBC2QD";};
|
||||
services.syncthing.settings.devices."northstar" = {id = "DMQZNMB-BM3SSE4-5XV2GHE-IDRNFTS-QNZSICS-6JWHUCV-O3NHMWY-2OBC2QD";};
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{...}: {
|
||||
services.syncthing.devices."remarkable" = {id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO";};
|
||||
services.syncthing.settings.devices."remarkable" = {id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO";};
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{...}: {
|
||||
services.syncthing.devices."vanguard" = {id = "YNGBLJP-TWY6Y3C-DPPYAWL-3ZQFNQH-RDPIU5T-L54UI62-FPPA3JQ-WYXBZQZ";};
|
||||
services.syncthing.settings.devices."vanguard" = {id = "YNGBLJP-TWY6Y3C-DPPYAWL-3ZQFNQH-RDPIU5T-L54UI62-FPPA3JQ-WYXBZQZ";};
|
||||
}
|
||||
|
|
|
@ -1,56 +1,54 @@
|
|||
{lib, ...}: {
|
||||
services.syncthing = {
|
||||
folders = {
|
||||
"Archive" = {
|
||||
label = "Archive";
|
||||
id = "hwnqy-xzcdx";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Books" = {
|
||||
label = "Books";
|
||||
id = "zjmxy-ycmbq";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Camera" = {
|
||||
label = "Camera";
|
||||
id = "fp4_4j7w-photos";
|
||||
type = "receiveonly";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Documents" = {
|
||||
label = "Documents";
|
||||
id = "qc6qa-bipsd";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Exports" = {
|
||||
label = "Exports";
|
||||
id = "tof2e-pdtde";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Movies" = {
|
||||
label = "Movies";
|
||||
id = "3f75o-4x6sq";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Pictures" = {
|
||||
label = "Pictures";
|
||||
id = "ziuj8-rm6dn";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Xochitl" = {
|
||||
label = "Xochitl";
|
||||
id = "dkcbx-kq7hl";
|
||||
type = "receiveonly";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
services.syncthing.settings.folders = {
|
||||
"Archive" = {
|
||||
label = "Archive";
|
||||
id = "hwnqy-xzcdx";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Books" = {
|
||||
label = "Books";
|
||||
id = "zjmxy-ycmbq";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Camera" = {
|
||||
label = "Camera";
|
||||
id = "fp4_4j7w-photos";
|
||||
type = "receiveonly";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Documents" = {
|
||||
label = "Documents";
|
||||
id = "qc6qa-bipsd";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Exports" = {
|
||||
label = "Exports";
|
||||
id = "tof2e-pdtde";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Movies" = {
|
||||
label = "Movies";
|
||||
id = "3f75o-4x6sq";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Pictures" = {
|
||||
label = "Pictures";
|
||||
id = "ziuj8-rm6dn";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
"Xochitl" = {
|
||||
label = "Xochitl";
|
||||
id = "dkcbx-kq7hl";
|
||||
type = "receiveonly";
|
||||
ignorePerms = true;
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue