krebspage: init
This commit is contained in:
parent
669dd0b1f9
commit
2dccd7d8d3
6
krebs/5pkgs/simple/krebspage/default.nix
Normal file
6
krebs/5pkgs/simple/krebspage/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ fetchgit }:
|
||||
fetchgit {
|
||||
url = "https://cgit.lassul.us/krebspage";
|
||||
rev = "8711780cef004e19a273a5149677869751cd06dc";
|
||||
sha256 = "0131vqrkcw140d7j94bvajkhlwi99kpikb8sy2bi1hgh8ziqplsm";
|
||||
}
|
@ -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" ''
|
||||
|
Loading…
Reference in New Issue
Block a user