mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 17:45:14 +01:00
noratrieb.dev work
This commit is contained in:
parent
e2a0659d8b
commit
a7aea77480
8 changed files with 26 additions and 113 deletions
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue