add old homepage

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-11 14:52:40 +01:00
parent 67714ad579
commit 39d65ed460
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 11 additions and 3 deletions

View file

@ -30,9 +30,10 @@
];
};
packages = pkgs.lib.lists.foldl (a: b: a // b) { } [
(import ./scripts/clean-s3-cache.nix { inherit pkgs inputs; })
];
packages = pkgs.lib.lists.foldl (a: b: a // b) { } (map (f: import f { inherit pkgs inputs; }) [
./scripts/clean-s3-cache.nix
./web/old-homepage.nix
]);
hydraJobs = {
inherit packages devShells;

7
web/old-homepage.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
homepage-old = pkgs.fetchzip {
url = "https://static.darkkirb.de/homepage.tar.zst";
sha256 = "sha256-T9fiDZSaAO9+YljPgQM7vEtJcs0tQF2Bd0BlsO4EyfE=";
nativeBuildInputs = [ pkgs.zstd ];
};
}