Update syncthing

This commit is contained in:
iFargle 2024-02-13 22:10:40 +09:00
parent 858dd5b469
commit e8f505a6e3
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,16 @@
{pkgs, config, ... }: {
services.syncthing = {
settings = {
devics = {
"win10-desktop" = {
name = "win10-desktop";
id = "VDAEJGQ-RA7GAT5-KLA7SRL-X2CV2EG-RMRMD6Z-TFE36JA-2TBBQG2-ED346AL";
};
"framework-server" = {
name = "framework-server";
id = "ULRNA7N-Q7WTZR3-PDQW52W-IWT4UOG-ABF5RCT-W6XJXOW-WQTJIWR-GBFUJQR";
};
};
};
};
}

View file

@ -1,4 +1,6 @@
{ pkgs, config, hostname, username, ... }: { { pkgs, config, hostname, username, ... }: {
imports = [ ../../common/services/syncthing.nix ];
services.syncthing = { services.syncthing = {
enable = true; enable = true;
user = "${username}"; user = "${username}";
@ -7,7 +9,10 @@
"world-of-warcraft" = { "world-of-warcraft" = {
enable = true; enable = true;
id = "ergcw-ay6yg"; id = "ergcw-ay6yg";
devices = [ "framework-server" "win10-desktop" ]; devices = [
"framework-server"
"win10-desktop"
];
path = "/home/${username}/Games/battlenet/drive_c/Program Files (x86)/World of Warcraft/"; path = "/home/${username}/Games/battlenet/drive_c/Program Files (x86)/World of Warcraft/";
}; };
}; };