Added simple website; removed transfer-sh; Cleaned up code from mail.
This commit is contained in:
parent
f1ff036503
commit
7ff74bc31c
5 changed files with 124 additions and 137 deletions
14
system/server/index/default.nix
Normal file
14
system/server/index/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.caddy.virtualHosts."jsw.tf" = lib.mkIf config.niksos.server {
|
||||
extraConfig = ''
|
||||
header Content-Type text/html
|
||||
respond <<HTML
|
||||
${builtins.readFile ./index.html}
|
||||
HTML 200
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue