drop podsync

This commit is contained in:
William 2023-07-26 17:59:03 -03:00
parent cd03a9d3f3
commit dfc1481628
7 changed files with 63 additions and 25 deletions

View file

@ -17,7 +17,6 @@
./security.nix
./services.nix
./pairdrop.nix
./podsync.nix
./users.nix
./variables.nix
./vaultwarden.nix

View file

@ -1,20 +0,0 @@
{ inputs, config, pkgs, lib, ... }:
{
virtualisation.oci-containers.containers."podsync" = {
image = "docker.io/mxpv/podsync:latest";
environment = { TZ = "America/Bahia"; };
ports = [ "${config.ports.podsync}:80" ];
volumes = [ "${config.age.secrets."podsync.toml".path}:/app/config.toml" ];
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
};
services.nginx.virtualHosts."podsync.baduhai.me" = {
useACMEHost = "baduhai.me";
forceSSL = true;
kTLS = true;
locations."/".proxyPass = "http://127.0.0.1:${config.ports.podsync}";
};
age.secrets."podsync.toml".file = ../../../secrets/podsync.toml.age;
}

View file

@ -16,7 +16,6 @@ in {
cinny = mkStringOption "8002";
librespeed = mkStringOption "8003";
paperless = mkStringOption "8004";
podsync = mkStringOption "8005";
cinny2 = mkStringOption "8006";
searx = mkStringOption "8007";
qbittorrent = mkStringOption "8008";