diff --git a/nixos/machines/chungus/rbackup.nix b/nixos/machines/chungus/rbackup.nix index 259b8b1..32cda0f 100644 --- a/nixos/machines/chungus/rbackup.nix +++ b/nixos/machines/chungus/rbackup.nix @@ -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; }; - - }; diff --git a/nixos/machines/orbi/configuration.nix b/nixos/machines/orbi/configuration.nix index 4cb88dc..74f4815 100644 --- a/nixos/machines/orbi/configuration.nix +++ b/nixos/machines/orbi/configuration.nix @@ -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 diff --git a/nixos/machines/orbi/gitea.nix b/nixos/machines/orbi/service-forgejo.nix similarity index 94% rename from nixos/machines/orbi/gitea.nix rename to nixos/machines/orbi/service-forgejo.nix index fc45e44..b5a68e2 100644 --- a/nixos/machines/orbi/gitea.nix +++ b/nixos/machines/orbi/service-forgejo.nix @@ -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; diff --git a/nixos/machines/orbi/codimd.nix b/nixos/machines/orbi/service-hedgedoc.nix similarity index 100% rename from nixos/machines/orbi/codimd.nix rename to nixos/machines/orbi/service-hedgedoc.nix diff --git a/nixos/machines/robi/configuration.nix b/nixos/machines/robi/configuration.nix index 6315010..aa07a8e 100644 --- a/nixos/machines/robi/configuration.nix +++ b/nixos/machines/robi/configuration.nix @@ -10,8 +10,8 @@ ./hetzner.nix ./borg.nix - ./codimd.nix - ./gitea.nix + #./codimd.nix + #./gitea.nix #./nextcloud.nix ./packages.nix ./taskserver.nix