This commit is contained in:
albert 2025-02-21 12:28:27 -08:00
parent fe24e4e0df
commit 3565bc1cd3
Signed by: albert
GPG key ID: 3895DD267CA11BA9
5 changed files with 18 additions and 0 deletions
nixos
common/services
hosts
framework-server
nuc-server
warsaw-ovh-01

View file

@ -0,0 +1,9 @@
{ config, ... }: {
networking.interfaces.tailscale0.firewall.allowedTCPPorts = [ 22067 22070 ];
services.syncthing.relay = {
enable = true;
pools = "";
providedBy = config.networking.hostName;
};
}

View file

@ -1,4 +1,5 @@
{ config, lib, username, deployment_type, desktop, ... }: {
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true";
imports = [ ] ++ lib.optional (builtins.isString desktop) ./syncthing-desktop.nix;
# Set up the secrets file:
@ -29,6 +30,11 @@
configDir = "/home/${username}/.config/syncthing";
overrideDevices = true;
overrideFolders = true;
relay = {
enable = true;
pools = "";
providedBy = config.networking.hostName;
};
settings = {
options = {
urAccepted = -1;

View file

@ -11,6 +11,7 @@
../../common/services/tailscale-autoconnect.nix
../../common/services/forgejo-runner.nix
../../common/services/syncthing.nix
../../common/services/syncthing-relay.nix
# Disabling -- I don't know why but this all of a sudden breaks Headscale.
# Sep 12 2024
# ../../common/modules/fail2ban/traefik.nix

View file

@ -12,6 +12,7 @@ in {
../../common/services/docker.nix
../../common/services/forgejo-runner.nix
../../common/services/syncthing.nix
../../common/services/syncthing-relay.nix
./disks.nix
./mounts.nix
./cron.nix

View file

@ -7,6 +7,7 @@
../../common/services/tailscale-autoconnect.nix
../../common/services/forgejo-runner.nix
../../common/services/syncthing.nix
../../common/services/syncthing-relay.nix
# Copy from framework-server
../framework-server/cron.nix