From 7a900cbc2275ed2c84ece756891871fb62eb00fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Fri, 23 Jul 2021 09:00:54 +0100 Subject: [PATCH] syncthing on brix --- nixos/boxes/brix/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/brix/default.nix b/nixos/boxes/brix/default.nix index f91bff1d..59909bfd 100644 --- a/nixos/boxes/brix/default.nix +++ b/nixos/boxes/brix/default.nix @@ -4,9 +4,9 @@ ./brix-boot.nix ./real-hardware.nix ../../server-security.nix - ../cli.nix ../../tailscale.nix ./tailscale-brix.nix + ../cli.nix ./restic-server.nix ./i2p.nix ./print-server.nix @@ -20,6 +20,12 @@ powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; security.allowUserNamespaces = true; + services.syncthing = { + enable = true; + dataDir = "/data/syncthing"; + openDefaultPorts = true; + package = inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing; + }; time.timeZone = "Europe/London";