mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
changes
This commit is contained in:
parent
a452692daf
commit
2b724d4c7f
3 changed files with 5 additions and 5 deletions
|
|
@ -38,9 +38,9 @@ with lib;
|
|||
|
||||
config = {
|
||||
# Set these.
|
||||
kw.dns.email = "kat@kittywit.ch";
|
||||
kw.dns.tld = "kittywit.ch.";
|
||||
kw.dns.ygg_prefix = "net";
|
||||
kw.dns.email = mkDefault "kat@kittywit.ch";
|
||||
kw.dns.tld = mkDefault "kittywit.ch.";
|
||||
kw.dns.ygg_prefix = mkDefault "net";
|
||||
|
||||
# This should be set in host config if it needs to be set for a host. Otherwise, they're retrieved from terraform.
|
||||
kw.dns.ipv4 = mkDefault (mkIf (tf.resources ? config.networking.hostName) (mkOptionDefault (config.deploy.tf.resources."${config.networking.hostName}".refAttr "ipv4_address")));
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"files.kittywit.ch" = {
|
||||
"files.${config.kw.dns.domain}" = {
|
||||
root = "/var/www/files";
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue