feat: added the games.skynet.ie site
This commit is contained in:
parent
e347afcb39
commit
fa422ce69c
3 changed files with 85 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
|
@ -9,7 +10,7 @@ with lib; let
|
|||
in {
|
||||
imports = [
|
||||
./dns.nix
|
||||
|
||||
./nginx.nix
|
||||
./games/minecraft.nix
|
||||
];
|
||||
|
||||
|
@ -54,6 +55,18 @@ in {
|
|||
}
|
||||
];
|
||||
|
||||
skynet_acme.domains = [
|
||||
"${cfg.domain.sub}.skynet.ie"
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
"${cfg.domain.sub}.skynet.ie" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "skynet";
|
||||
root = "${inputs.skynet_website_games.defaultPackage.x86_64-linux}";
|
||||
};
|
||||
};
|
||||
|
||||
# the minecraft servers
|
||||
services.skynet_games_minecraft = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue