From d6c67aebd0c0c180f9029c18fe8803fdc3579b66 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 13 Feb 2024 22:03:41 +0900 Subject: [PATCH] Testing syncthing config --- nixos/hosts/nixos-framework/syncthing.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nixos/hosts/nixos-framework/syncthing.nix diff --git a/nixos/hosts/nixos-framework/syncthing.nix b/nixos/hosts/nixos-framework/syncthing.nix new file mode 100644 index 00000000..c843461a --- /dev/null +++ b/nixos/hosts/nixos-framework/syncthing.nix @@ -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}/ + + }; + }; + }; + }; +} \ No newline at end of file