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" {
|
resource "gandi_livedns_record" "rpqt_fr_cloud_a" {
|
||||||
zone = data.gandi_livedns_domain.rpqt_fr.id
|
zone = data.gandi_livedns_domain.rpqt_fr.id
|
||||||
name = "cloud"
|
name = "cloud"
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = 10800
|
ttl = 10800
|
||||||
values = [
|
values = local.verbena_ipv4_addresses
|
||||||
hcloud_server.crocus_server.ipv4_address,
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "gandi_livedns_record" "rpqt_fr_cloud_aaaa" {
|
resource "gandi_livedns_record" "rpqt_fr_cloud_aaaa" {
|
||||||
zone = data.gandi_livedns_domain.rpqt_fr.id
|
zone = data.gandi_livedns_domain.rpqt_fr.id
|
||||||
name = "cloud"
|
name = "cloud"
|
||||||
type = "AAAA"
|
type = "AAAA"
|
||||||
ttl = 10800
|
ttl = 10800
|
||||||
values = [
|
values = local.verbena_ipv6_addresses
|
||||||
hcloud_server.crocus_server.ipv6_address,
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
data "ovh_vps" "verbena_vps" {
|
data "ovh_vps" "verbena_vps" {
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
./radicle.nix
|
./radicle.nix
|
||||||
self.nixosModules.nix-defaults
|
self.nixosModules.nix-defaults
|
||||||
../../modules/remote-builder.nix
|
../../modules/remote-builder.nix
|
||||||
./nextcloud.nix
|
|
||||||
../../modules/unbound.nix
|
../../modules/unbound.nix
|
||||||
../../modules/unbound-auth.nix
|
../../modules/unbound-auth.nix
|
||||||
self.nixosModules.gitea
|
self.nixosModules.gitea
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
self.nixosModules.nix-defaults
|
self.nixosModules.nix-defaults
|
||||||
../../modules/unbound.nix
|
../../modules/unbound.nix
|
||||||
../../modules/unbound-auth.nix
|
../../modules/unbound-auth.nix
|
||||||
|
self.nixosModules.nextcloud
|
||||||
|
|
||||||
self.inputs.srvos.nixosModules.server
|
self.inputs.srvos.nixosModules.server
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
tailscale.imports = [ ./tailscale.nix ];
|
tailscale.imports = [ ./tailscale.nix ];
|
||||||
user-rpqt.imports = [ ./user-rpqt.nix ];
|
user-rpqt.imports = [ ./user-rpqt.nix ];
|
||||||
hardened-ssh-server.imports = [ ./hardened-ssh-server.nix ];
|
hardened-ssh-server.imports = [ ./hardened-ssh-server.nix ];
|
||||||
|
nextcloud.imports = [ ./nextcloud.nix ];
|
||||||
|
|
||||||
common.imports = [
|
common.imports = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/acme-home.nix
|
./acme-home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = fqdn;
|
hostName = fqdn;
|
||||||
https = true;
|
https = true;
|
||||||
|
package = pkgs.nextcloud32;
|
||||||
config = {
|
config = {
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
dbuser = "nextcloud";
|
dbuser = "nextcloud";
|
||||||
@@ -33,7 +34,7 @@ in
|
|||||||
};
|
};
|
||||||
extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
extraApps = {
|
extraApps = {
|
||||||
inherit (pkgs.nextcloud31Packages.apps) tasks;
|
# inherit (pkgs.nextcloud32Packages.apps) tasks;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user