mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
splashy and the fixed yule configs and stuff
This commit is contained in:
parent
744ce9124c
commit
9d8dbe896d
6 changed files with 33 additions and 6 deletions
|
|
@ -78,6 +78,8 @@ let
|
|||
withBackends = [ "freeimage" "libjpeg" "libpng" "librsvg" "libnsgif" "libheif" "libtiff" ];
|
||||
};
|
||||
|
||||
kat-splash = self.callPackage ./kat-splash { };
|
||||
|
||||
kat-glauca-dns = self.callPackage ./kat-glauca-dns { };
|
||||
|
||||
kat-gpg-status = self.callPackage ./kat-gpg-status { };
|
||||
|
|
|
|||
22
pkgs/kat-splash/default.nix
Normal file
22
pkgs/kat-splash/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ 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; }
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue