ahoneybun.net/flake.nix
2025-11-19 16:30:38 -07:00

28 lines
608 B
Nix

{
description = "Flake to build and work on my zola blog";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = (import nixpkgs) {
inherit system;
};
in rec {
# For `nix develop`
devShell = pkgs.mkShell {
buildInputs = with pkgs; [ zola ];
shellHook = ''
git submodule update --init --recursive
'';
};
}
);
}