Update syncthing
This commit is contained in:
parent
858dd5b469
commit
e8f505a6e3
2 changed files with 22 additions and 1 deletions
16
nixos/common/services/syncthing.nix
Normal file
16
nixos/common/services/syncthing.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
{ pkgs, config, hostname, username, ... }: {
|
||||
imports = [ ../../common/services/syncthing.nix ];
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
user = "${username}";
|
||||
|
@ -7,7 +9,10 @@
|
|||
"world-of-warcraft" = {
|
||||
enable = true;
|
||||
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/";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue