This commit is contained in:
Nico 2025-08-03 21:46:35 +10:00
parent beccccb61f
commit 44e1ea0c08
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
28 changed files with 2002 additions and 131 deletions

View file

@ -11,18 +11,10 @@
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.website = pkgs.stdenv.mkDerivation rec {
pname = "astolfo.org";
version = "1.0";
src = ./src;
nativeBuildInputs = [ pkgs.zola ];
buildPhase = "zola build";
installPhase = "cp -r public $out";
};
defaultPackage = self.packages.${system}.website;
devShell = pkgs.mkShell {
packages = with pkgs; [
zola
yarn
];
};
}