Nix-Config/system/shared/services/syncthing.nix

17 lines
366 B
Nix
Raw Normal View History

{ config, pkgs, inputs, ... }:
{
services.syncthing = {
enable = true;
user = "tsv";
dataDir = "/home/tsv/storagebox";
configDir = "/home/tsv/.config/syncthing";
extraOptions = {
gui.user = "tsv";
gui.password = "$2y$10$FQ.8RNztxQ1CvsnksTlYSOsgadHVc47yUhQQpc5X61BFVXXpDq..2";
gui.insecureSkipHostcheck = true;
};
};
}