From 6f3457ba2e7de094109152c2938146ba430e6247 Mon Sep 17 00:00:00 2001 From: notohh <github@notohh.dev> Date: Mon, 17 Mar 2025 05:32:14 -0400 Subject: [PATCH] tsuki: add syncthing --- hosts/tsuki/default.nix | 1 - hosts/tsuki/services/default.nix | 1 + hosts/tsuki/services/syncthing.nix | 11 +++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 hosts/tsuki/services/syncthing.nix diff --git a/hosts/tsuki/default.nix b/hosts/tsuki/default.nix index 8e0eb19..c91daf8 100755 --- a/hosts/tsuki/default.nix +++ b/hosts/tsuki/default.nix @@ -18,7 +18,6 @@ virtualisation = { libvirtd.enable = true; - waydroid.enable = false; }; services = { pulseaudio.enable = false; diff --git a/hosts/tsuki/services/default.nix b/hosts/tsuki/services/default.nix index 0ff45e5..dcf5a1e 100644 --- a/hosts/tsuki/services/default.nix +++ b/hosts/tsuki/services/default.nix @@ -5,5 +5,6 @@ ./hydroxide.nix ./rnnoise.nix ./immich-backup.nix + ./syncthing.nix ]; } diff --git a/hosts/tsuki/services/syncthing.nix b/hosts/tsuki/services/syncthing.nix new file mode 100644 index 0000000..7aec5b7 --- /dev/null +++ b/hosts/tsuki/services/syncthing.nix @@ -0,0 +1,11 @@ +_: { + services.syncthing = { + enable = true; + openDefaultPorts = true; + dataDir = "/home/notoh/sync"; + configDir = "/home/notoh/.config/syncthing"; + guiAddress = "localhost:8384"; + user = "notoh"; + group = "users"; + }; +}