noratrieb.dev work

This commit is contained in:
nora 2024-08-02 17:36:55 +02:00
parent e2a0659d8b
commit a7aea77480
8 changed files with 26 additions and 113 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, config, name, ... }: {
{ pkgs, config, name, website, slides, blog, ... }: {
networking.firewall.allowedTCPPorts = [
443
];
@ -17,8 +17,16 @@
${
if name == "vps1" then
''
nilstrieb.dev {
redir https://noratrieb.dev{uri} permanent
}
blog.nilstrieb.dev {
redir https://blog.noratrieb.dev{uri} permanent
}
noratrieb.dev {
root * ${./nora}
root * ${website {inherit pkgs slides blog;}}
file_server
}
'' else ""