1
0
Fork 0
puter/profiles/trusted/syncthing.nix

22 lines
398 B
Nix
Raw Normal View History

2025-07-14 21:18:44 +02:00
{
config,
lib,
...
}:
let
cfg = config.profiles.trusted;
inherit (config.networking) hostName;
in
{
config = lib.mkIf cfg.enable {
services.syncthing = {
enable = true;
systemService = true;
openDefaultPorts = true;
guiAddress = "${hostName}.tailnet.helveticanonstandard.net:4000";
overrideDevices = false;
overrideFolders = false;
};
};
}