mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-06-27 05:01:53 +02:00
deploy wiki on wiki.staging.julienmalka.me
This commit is contained in:
parent
78b323d439
commit
9b8c8996f8
@ -16,7 +16,7 @@ in
|
|||||||
sops.secrets.nixos-wiki-github-client-secret.owner = config.services.phpfpm.pools.mediawiki.user;
|
sops.secrets.nixos-wiki-github-client-secret.owner = config.services.phpfpm.pools.mediawiki.user;
|
||||||
|
|
||||||
services.nixos-wiki = {
|
services.nixos-wiki = {
|
||||||
hostname = "nixos-wiki2.thalheim.io";
|
hostname = "wiki.staging.julienmalka.me";
|
||||||
adminPasswordFile = config.sops.secrets.nixos-wiki.path;
|
adminPasswordFile = config.sops.secrets.nixos-wiki.path;
|
||||||
githubClientId = "Iv1.95ed182c83df1d22";
|
githubClientId = "Iv1.95ed182c83df1d22";
|
||||||
githubClientSecretFile = config.sops.secrets.nixos-wiki-github-client-secret.path;
|
githubClientSecretFile = config.sops.secrets.nixos-wiki-github-client-secret.path;
|
@ -1 +1 @@
|
|||||||
{"ipv6_address":"2a01:4f9:c012:4fe3::1","ssh_keys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbBp2dH2X3dcU1zh+xW3ZsdYROKpJd3n13ssOP092qE joerg@turingmachine","ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"]}
|
{"ipv6_address":"2a01:4f9:c012:8178::1","ssh_keys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbBp2dH2X3dcU1zh+xW3ZsdYROKpJd3n13ssOP092qE joerg@turingmachine","ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"]}
|
@ -12,12 +12,12 @@ terraform {
|
|||||||
module "wiki" {
|
module "wiki" {
|
||||||
source = "../../terraform/nixos-wiki"
|
source = "../../terraform/nixos-wiki"
|
||||||
domain = "nixos-wiki2.thalheim.io"
|
domain = "nixos-wiki2.thalheim.io"
|
||||||
nixos_flake_attr = "nixos-wiki2-thalheim-io"
|
nixos_flake_attr = "nixos-wiki-nixos-org"
|
||||||
nixos_vars_file = "${path.module}/nixos-vars.json"
|
nixos_vars_file = "${path.module}/nixos-vars.json"
|
||||||
sops_file = abspath("${path.module}/secrets.yaml")
|
sops_file = abspath("${path.module}/secrets.yaml")
|
||||||
tags = {
|
tags = {
|
||||||
Terraform = "true"
|
Terraform = "true"
|
||||||
Target = "nixos-wiki2.thalheim.io"
|
Target = "wiki.nixos.org"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user