mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
30 lines
529 B
Nix
Executable file
30 lines
529 B
Nix
Executable file
{ moduleFunctions }:
|
|
let
|
|
inherit (moduleFunctions.instancesFunctions)
|
|
domain0
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
|
|
label = "Minecraft";
|
|
name = "minecraft";
|
|
in
|
|
{
|
|
label = label;
|
|
name = name;
|
|
sops = {
|
|
path0 = "${sopsPath}/${name}";
|
|
};
|
|
subdomain = name;
|
|
paths = {
|
|
path0 = "${servicePath}/${label}";
|
|
};
|
|
ports = {
|
|
port0 = 43000; # Minecraft (Brix on Nix)
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${name}.${domain0}/fullchain.pem";
|
|
key = "${sslPath}/${name}.${domain0}/key.pem";
|
|
};
|
|
}
|