migrate nextcloud from crocus to verbena

This commit is contained in:
2025-10-18 18:50:42 +02:00
parent 53c5cd6705
commit 838ff7ed6b
5 changed files with 16 additions and 17 deletions

View File

@@ -23,23 +23,20 @@ resource "gandi_livedns_record" "rpqt_fr_radicle_aaaa" {
}
resource "gandi_livedns_record" "rpqt_fr_cloud_a" {
zone = data.gandi_livedns_domain.rpqt_fr.id
name = "cloud"
type = "A"
ttl = 10800
values = [
hcloud_server.crocus_server.ipv4_address,
]
zone = data.gandi_livedns_domain.rpqt_fr.id
name = "cloud"
type = "A"
ttl = 10800
values = local.verbena_ipv4_addresses
}
resource "gandi_livedns_record" "rpqt_fr_cloud_aaaa" {
zone = data.gandi_livedns_domain.rpqt_fr.id
name = "cloud"
type = "AAAA"
ttl = 10800
values = [
hcloud_server.crocus_server.ipv6_address,
]
zone = data.gandi_livedns_domain.rpqt_fr.id
name = "cloud"
type = "AAAA"
ttl = 10800
values = local.verbena_ipv6_addresses
}
}
data "ovh_vps" "verbena_vps" {

View File

@@ -7,7 +7,6 @@
./radicle.nix
self.nixosModules.nix-defaults
../../modules/remote-builder.nix
./nextcloud.nix
../../modules/unbound.nix
../../modules/unbound-auth.nix
self.nixosModules.gitea

View File

@@ -4,6 +4,7 @@
self.nixosModules.nix-defaults
../../modules/unbound.nix
../../modules/unbound-auth.nix
self.nixosModules.nextcloud
self.inputs.srvos.nixosModules.server
];

View File

@@ -13,6 +13,7 @@
tailscale.imports = [ ./tailscale.nix ];
user-rpqt.imports = [ ./user-rpqt.nix ];
hardened-ssh-server.imports = [ ./hardened-ssh-server.nix ];
nextcloud.imports = [ ./nextcloud.nix ];
common.imports = [
{

View File

@@ -4,13 +4,14 @@ let
in
{
imports = [
../../modules/acme-home.nix
./acme-home.nix
];
services.nextcloud = {
enable = true;
hostName = fqdn;
https = true;
package = pkgs.nextcloud32;
config = {
dbtype = "pgsql";
dbuser = "nextcloud";
@@ -33,7 +34,7 @@ in
};
extraAppsEnable = true;
extraApps = {
inherit (pkgs.nextcloud31Packages.apps) tasks;
# inherit (pkgs.nextcloud32Packages.apps) tasks;
};
};