stuff
This commit is contained in:
parent
3f6dafe073
commit
79792e5a76
24 changed files with 143 additions and 101 deletions
21
profiles/trusted/syncthing.nix
Normal file
21
profiles/trusted/syncthing.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue