add syncthing on bolty
This commit is contained in:
parent
69d1dd8ec0
commit
a1e0739ac0
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue