syncthing on brix

This commit is contained in:
Cyryl Płotnicki 2021-07-23 09:00:54 +01:00
parent a1be97f064
commit 7a900cbc22

View file

@ -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";