summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-09-09 12:07:13 +0200
committerlassulus <lass@blue.r>2018-09-09 12:07:13 +0200
commit2dccd7d8d30f7e5dc7eed4e9114f5c14fb255e69 (patch)
tree2183ac2e6e02d7e4f0f8dbd863e8da0ff0973e86
parent669dd0b1f9731ad6dec89cf8eb88eb87c9c5354d (diff)
krebspage: init
-rw-r--r--krebs/5pkgs/simple/krebspage/default.nix6
-rw-r--r--lass/2configs/websites/lassulus.nix4
2 files changed, 10 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/krebspage/default.nix b/krebs/5pkgs/simple/krebspage/default.nix
new file mode 100644
index 000000000..f9a446f43
--- /dev/null
+++ b/krebs/5pkgs/simple/krebspage/default.nix
@@ -0,0 +1,6 @@
+{ fetchgit }:
+fetchgit {
+ url = "https://cgit.lassul.us/krebspage";
+ rev = "8711780cef004e19a273a5149677869751cd06dc";
+ sha256 = "0131vqrkcw140d7j94bvajkhlwi99kpikb8sy2bi1hgh8ziqplsm";
+}
diff --git a/lass/2configs/websites/lassulus.nix b/lass/2configs/websites/lassulus.nix
index f60a66952..8f24fb212 100644
--- a/lass/2configs/websites/lassulus.nix
+++ b/lass/2configs/websites/lassulus.nix
@@ -82,6 +82,10 @@ in {
c-base:$apr1$aQ6mYNR3$ho.aJ7icqSO.y.xKo3GQf0
''};
'';
+ locations."/krebspage".extraConfig = ''
+ default_type "text/html";
+ alias ${pkgs.krebspage}/index.html;
+ '';
# TODO make this work!
locations."= /ddate".extraConfig = let
script = pkgs.writeBash "test" ''