mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Services overhaul (remove all virtualhosts.nix, ...)
This commit is contained in:
parent
b95636d658
commit
afa161955d
17 changed files with 156 additions and 162 deletions
|
|
@ -10,6 +10,7 @@ with lib;
|
|||
users.kat.server
|
||||
services.asterisk
|
||||
services.fail2ban
|
||||
services.filehost
|
||||
services.gitea
|
||||
services.grafana
|
||||
services.logrotate
|
||||
|
|
@ -28,10 +29,10 @@ with lib;
|
|||
services.syncplay
|
||||
services.taskserver
|
||||
services.vaultwarden
|
||||
services.website
|
||||
services.weechat
|
||||
services.xmpp
|
||||
services.znc
|
||||
./nixos/virtualhosts.nix
|
||||
];
|
||||
|
||||
# File Systems and Swap
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
common = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"kittywit.ch" = { root = pkgs.kat-website; } // common;
|
||||
"athame.kittywit.ch" = { root = "/var/www/athame"; } // common;
|
||||
"files.kittywit.ch" = { root = "/var/www/files"; } // common;
|
||||
};
|
||||
|
||||
deploy.tf.dns.records.kittywitch_files = {
|
||||
tld = "kittywit.ch.";
|
||||
domain = "files";
|
||||
cname.target = "athame.kittywit.ch.";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue