mirror of
https://gitlab.com/ahoneybun/ahoneybun-net.git
synced 2026-02-07 21:37:23 -07:00
28 lines
608 B
Nix
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
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
}
|
|
|