astolfo.org/flake.nix
2025-08-03 21:46:35 +10:00

22 lines
609 B
Nix

{
# from https://ilanjoselevich.com/blog/building-websites-using-nix-flakes-and-zola/
description = "the website for astolfo.org";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
defaultPackage = self.packages.${system}.website;
devShell = pkgs.mkShell {
packages = with pkgs; [
yarn
];
};
}
);
}