diff --git a/flake.nix b/flake.nix index 13685a3..739270a 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/web/old-homepage.nix b/web/old-homepage.nix new file mode 100644 index 0000000..c42565d --- /dev/null +++ b/web/old-homepage.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + homepage-old = pkgs.fetchzip { + url = "https://static.darkkirb.de/homepage.tar.zst"; + sha256 = "sha256-T9fiDZSaAO9+YljPgQM7vEtJcs0tQF2Bd0BlsO4EyfE="; + nativeBuildInputs = [ pkgs.zstd ]; + }; +}