migrate gitea and hedgedoc

This commit is contained in:
Ingolf Wagner 2024-04-12 23:09:40 +02:00
parent 2f5d2faaad
commit 1945c66862
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
5 changed files with 19 additions and 17 deletions

View file

@ -8,16 +8,18 @@
src = "root@orbi:/var/lib/nixos-containers/nextcloud";
dst = "/mirror/nextcloud";
};
git = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@orbi:/var/lib/forgejo/";
dst = "/mirror/git";
};
# todo
taskwarrior = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/taskserver/";
dst = "/mirror/taskwarrior";
};
gitea = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/gitea/";
dst = "/mirror/gitea";
};
# todo
bitwarden = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/bitwarden_rs/";
@ -28,7 +30,6 @@
src = "root@orbi:/var/lib/nixos-containers/matrix-terranix";
dst = "/mirror/matrix-terranix";
};
radarr = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@orbi:/media/arr/radarr";
@ -41,8 +42,6 @@
dst = "/media/arr/sonarr";
delete = false;
};
};

View file

@ -9,10 +9,12 @@
../../modules
# services
./service-hedgedoc.nix
./service-forgejo.nix
#./borg.nix
#./codimd.nix
#./gitea.nix
#./packages.nix
#./taskserver.nix
#./vaultwarden.nix
@ -30,14 +32,15 @@
./media-arr.nix
./media-nextcloud.nix
#./sync-opentracker.nix
#./sync-torrent.nix
#./social-jitsi.nix
./social-matrix-terranix.nix
#./social-matrix-ingolf-wagner.nix
# logging
#./sync-opentracker.nix
#./sync-torrent.nix
# telemetry
# ---------
#./loki.nix
#./loki-promtail.nix
##./prometheus.nix

View file

@ -9,13 +9,13 @@
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.gogs.httpPort}";
proxyPass = "http://localhost:${toString config.services.forgejo.httpPort}";
};
};
};
};
services.gitea = {
services.forgejo = {
enable = true;
appName = "git.ingolf-wagner.de";
#cookieSecure = true;

View file

@ -10,8 +10,8 @@
./hetzner.nix
./borg.nix
./codimd.nix
./gitea.nix
#./codimd.nix
#./gitea.nix
#./nextcloud.nix
./packages.nix
./taskserver.nix