Testing syncthing config
This commit is contained in:
parent
ea97dfb8cf
commit
d6c67aebd0
1 changed files with 18 additions and 0 deletions
18
nixos/hosts/nixos-framework/syncthing.nix
Normal file
18
nixos/hosts/nixos-framework/syncthing.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ pkgs, config, hostname, username, ... }: {
|
||||||
|
imports = [ ../../common/services/syncthing.nix ];
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
username = "${username}";
|
||||||
|
settings = {
|
||||||
|
folders = {
|
||||||
|
"world-of-warcraft" = {
|
||||||
|
enable = true;
|
||||||
|
id = "ergcw-ay6yg";
|
||||||
|
devices = [ "framework-server" "win10-desktop" ];
|
||||||
|
path = /home/${username}/
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue