23.11: syncthing config

This commit is contained in:
Casper V. Kristensen 2023-12-01 21:52:30 +01:00
parent 206be0599b
commit 9056600dc8

View file

@ -10,28 +10,30 @@
group = "users"; group = "users";
# The directory where synchronised directories will exist # The directory where synchronised directories will exist
dataDir = "/home/caspervk"; dataDir = "/home/caspervk";
# Devices ignore their own IDs, allowing for a single configuration. settings = {
# TODO: Syncthing generates a private key and ID the first time it is # Devices ignore their own IDs, allowing for a single configuration.
# started. On first install, add the devices' ID here and apply to the # TODO: Syncthing generates a private key and ID the first time it is
# other ones. When we get a proper secret management scheme, such as # started. On first install, add the devices' ID here and apply to the
# agenix, the private keys should be managed declaratively as well. # other ones. When we get a proper secret management scheme, such as
devices = { # agenix, the private keys should be managed declaratively as well.
"lambda" = { devices = {
id = "WES3JH4-S34HTC5-42YZHUJ-MX3Z6PA-PFO72KA-YIJMDOB-GQWZXZ3-I7BBTAS"; "lambda" = {
addresses = [ "tcp://lambda.caspervk.net" ]; id = "WES3JH4-S34HTC5-42YZHUJ-MX3Z6PA-PFO72KA-YIJMDOB-GQWZXZ3-I7BBTAS";
addresses = [ "tcp://lambda.caspervk.net" ];
};
"omega" = { id = "EZIQ7SI-Y6BBLUY-QI4EEYU-UNIXPSG-R6X5E77-AA2UC7S-VRV2LKQ-RNBOGQT"; };
"S10e" = { id = "DWC6YHB-FRYKFHD-FPOUITV-7GL2WZH-RSFOJXR-PHYXDO7-74NLBUZ-TZENVAC"; };
"zeta" = { id = "GQRNHAQ-MMRQYMD-P4RCA6I-5DJ3HXO-J2N2GVP-UGI55YR-HD3EYSO-ERU5QQV"; };
}; };
"omega" = { id = "EZIQ7SI-Y6BBLUY-QI4EEYU-UNIXPSG-R6X5E77-AA2UC7S-VRV2LKQ-RNBOGQT"; }; folders = {
"S10e" = { id = "DWC6YHB-FRYKFHD-FPOUITV-7GL2WZH-RSFOJXR-PHYXDO7-74NLBUZ-TZENVAC"; }; "keepass" = {
"zeta" = { id = "GQRNHAQ-MMRQYMD-P4RCA6I-5DJ3HXO-J2N2GVP-UGI55YR-HD3EYSO-ERU5QQV"; }; path = "~/keepass";
}; devices = [ "lambda" "omega" "S10e" "zeta" ];
folders = { };
"keepass" = { "sync" = {
path = "~/keepass"; path = "~/sync";
devices = [ "lambda" "omega" "S10e" "zeta" ]; devices = [ "lambda" "omega" "zeta" ];
}; };
"sync" = {
path = "~/sync";
devices = [ "lambda" "omega" "zeta" ];
}; };
}; };
}; };