use 11ty
This commit is contained in:
parent
beccccb61f
commit
44e1ea0c08
28 changed files with 2002 additions and 131 deletions
10
flake.nix
10
flake.nix
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue