mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
22 lines
442 B
Nix
22 lines
442 B
Nix
{ writeTextFile, linkFarm }: hostname:
|
|
|
|
let mewp = writeTextFile {
|
|
name = "index.html";
|
|
text = ''
|
|
<html>
|
|
<head>
|
|
<title>kat's ${hostname}</title>
|
|
</head>
|
|
<body>
|
|
<h1>mew! welcome to ${hostname} ><</h1>
|
|
|
|
<img src="splash.jpg">
|
|
|
|
<p>stop snooping, it's mean! o:</p>
|
|
</body>
|
|
</html>
|
|
''; }; mewy = "${./splash.jpg}";
|
|
in linkFarm "index" [
|
|
{ name = "index.html"; path = mewp; }
|
|
{ name = "splash.jpg"; path = mewy; }
|
|
]
|