Add syncthing base, git submodules

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-07 21:05:50 +03:00
parent 56bf342a5b
commit 756a112b80
9 changed files with 96 additions and 69 deletions

View File

@@ -0,0 +1,15 @@
{ user ? throw "user argument is required" }: { ... }:
{
networking.firewall = {
allowedTCPPorts = [ 22000 ];
allowedUDPPorts = [ 21027 22000 ];
};
home-manager.users.${user.name} = {
services.syncthing = {
enable = true;
extraOptions = [ "-no-default-folder" ];
};
};
}