From 39d65ed460dc5857209d9271f3a048c39e2e4740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 11 Jun 2022 14:52:40 +0100 Subject: [PATCH] add old homepage --- flake.nix | 7 ++++--- web/old-homepage.nix | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 web/old-homepage.nix 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 ]; + }; +}