kariru: add syncthing

This commit is contained in:
notohh 2025-03-17 05:32:26 -04:00
parent 6f3457ba2e
commit 10285807d9
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 14 additions and 13 deletions

View file

@ -4,6 +4,7 @@
imports = [
./restic.nix
./torrent.nix
./syncthing.nix
];
environment.systemPackages = [pkgs.recyclarr];
@ -20,19 +21,6 @@
enable = true;
openFirewall = true;
};
bazarr = {
enable = false;
openFirewall = true;
};
readarr = {
enable = false;
openFirewall = true;
};
lidarr = {
enable = false;
openFirewall = true;
};
sabnzbd.enable = false;
};
virtualisation.oci-containers.containers = {

View file

@ -0,0 +1,12 @@
_: {
networking.firewall.allowedTCPPorts = [8385];
services.syncthing = {
enable = true;
openDefaultPorts = true;
dataDir = "/home/notoh/sync";
configDir = "/home/notoh/.config/syncthing";
guiAddress = "192.168.1.54:8385";
user = "notoh";
group = "users";
};
}

View file

@ -13,6 +13,7 @@
"6881:6881" #qb
"6881:6881/udp" #qb
];
volumes = ["/srv/gluetun:/tmp/gluetun"];
environmentFiles = [config.sops.secrets.gluetun.path];
extraOptions = ["--cap-add=NET_ADMIN" "--device=/dev/net/tun:/dev/net/tun"];
};