add syncthing on bolty

This commit is contained in:
Cyryl Płotnicki 2021-10-17 10:51:24 +01:00
parent 69d1dd8ec0
commit a1e0739ac0

View file

@ -10,6 +10,12 @@
./print-server.nix ./print-server.nix
./restic-server.nix ./restic-server.nix
]; ];
services.syncthing = {
enable = true;
dataDir = "/data/syncthing";
openDefaultPorts = true;
package = inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
};
networking = { networking = {
hostName = "bolty"; hostName = "bolty";
useDHCP = false; useDHCP = false;