migrate nextcloud from crocus to verbena
This commit is contained in:
25
infra/dns.tf
25
infra/dns.tf
@@ -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" {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
self.nixosModules.nix-defaults
|
||||
../../modules/unbound.nix
|
||||
../../modules/unbound-auth.nix
|
||||
self.nixosModules.nextcloud
|
||||
|
||||
self.inputs.srvos.nixosModules.server
|
||||
];
|
||||
|
||||
@@ -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 = [
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user