make "presentations" more general

This commit is contained in:
silver 2023-09-28 17:11:35 +01:00
parent bd58a6d169
commit 7ed6fdeb3b
3 changed files with 7 additions and 7 deletions

View file

@ -29,7 +29,7 @@ in {
# the root one is already covered by teh certificate
"2016.skynet.ie"
"discord.skynet.ie"
"slides.skynet.ie"
"public.skynet.ie"
];
skynet_dns.records = [
@ -50,7 +50,7 @@ in {
value = cfg.host.name;
}
{
record = "slides";
record = "public";
r_type = "CNAME";
value = cfg.host.name;
}
@ -83,10 +83,10 @@ in {
locations."/".return = "307 https://discord.gg/mkuKJkCuyM";
};
"slides.skynet.ie" = {
"public.skynet.ie" = {
forceSSL = true;
useACMEHost = "skynet";
root = "${inputs.compsoc_slides.packages.x86_64-linux.default}";
root = "${inputs.compsoc_public.packages.x86_64-linux.default}";
locations."/".extraConfig = "autoindex on;";
};
};

View file

@ -99,7 +99,7 @@
"type": "gitlab"
}
},
"compsoc_slides": {
"compsoc_public": {
"inputs": {
"bfom": "bfom",
"nixpkgs": "nixpkgs_5",
@ -566,7 +566,7 @@
"agenix": "agenix",
"alejandra": "alejandra",
"arion": "arion",
"compsoc_slides": "compsoc_slides",
"compsoc_public": "compsoc_public",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_6",
"simple-nixos-mailserver": "simple-nixos-mailserver",

View file

@ -24,7 +24,7 @@
skynet_website.url = "gitlab:compsoc1%2Fskynet%2Fwebsite/2023?host=gitlab.skynet.ie";
skynet_website_2016.url = "gitlab:compsoc1%2Fskynet%2Fwebsite/2016?host=gitlab.skynet.ie";
skynet_discord_bot.url = "gitlab:compsoc1%2Fskynet/discord-bot?host=gitlab.skynet.ie";
compsoc_slides.url = "gitlab:compsoc1%2Fcompsoc/presentations?host=gitlab.skynet.ie";
compsoc_public.url = "gitlab:compsoc1%2Fcompsoc/presentations?host=gitlab.skynet.ie";
};
nixConfig.bash-prompt-suffix = "[Skynet Dev] ";