updating dalinar syncthing config

This commit is contained in:
Chris Cochrun 2022-11-03 20:57:10 -05:00
parent 74cd4664e4
commit c37fad2e7c
2 changed files with 60 additions and 2 deletions

View file

@ -1176,7 +1176,36 @@ Dalinar's config is of course server oriented.
# enableSSHSupport = true; # enableSSHSupport = true;
# }; # };
services.syncthing.enable = true; services.syncthing = {
enable = true;
dataDir = "/storage/syncthing";
openDefaultPorts = true;
configDir = "/home/chris/syncthing";
user = "chris";
group = "users";
guiAddress = "0.0.0.0:8384";
devices = {
syl = {
id = "AJMADOK-TENODAA-VSOEW2A-4RXY2XI-YNHIS7H-H3ZYAO5-3UQ64EE-O2N5BAY";
};
kaladin = {
id = "LH6523Z-QQ5F3A4-SINZDOI-UFMQBIX-ZV6Q5BQ-LTKVMDB-CRI6QG5-RRKJFQS";
};
shadow = {
id = "SGO2BUT-WDOB2B7-SD5BHKU-ES3BFZF-EZPFSQJ-B4744TP-SXKZS4O-SDLJ5QX";
};
};
folders = {
"/storage/syncthing/Music" = {
id = "music";
devices = [ "syl" "kaladin" "shadow" ];
versioning = {
type = "trashcan";
params.cleanoutDays = "1000";
};
};
};
};
nix-bitcoin = { nix-bitcoin = {
generateSecrets = true; generateSecrets = true;

View file

@ -107,7 +107,36 @@
# enableSSHSupport = true; # enableSSHSupport = true;
# }; # };
services.syncthing.enable = true; services.syncthing = {
enable = true;
dataDir = "/storage/syncthing";
openDefaultPorts = true;
configDir = "/home/chris/syncthing";
user = "chris";
group = "users";
guiAddress = "0.0.0.0:8384";
devices = {
syl = {
id = "AJMADOK-TENODAA-VSOEW2A-4RXY2XI-YNHIS7H-H3ZYAO5-3UQ64EE-O2N5BAY";
};
kaladin = {
id = "LH6523Z-QQ5F3A4-SINZDOI-UFMQBIX-ZV6Q5BQ-LTKVMDB-CRI6QG5-RRKJFQS";
};
shadow = {
id = "SGO2BUT-WDOB2B7-SD5BHKU-ES3BFZF-EZPFSQJ-B4744TP-SXKZS4O-SDLJ5QX";
};
};
folders = {
"/storage/syncthing/Music" = {
id = "music";
devices = [ "syl" "kaladin" "shadow" ];
versioning = {
type = "trashcan";
params.cleanoutDays = "1000";
};
};
};
};
nix-bitcoin = { nix-bitcoin = {
generateSecrets = true; generateSecrets = true;