ahoneybun.net/flake.nix
Aaron Honeycutt 459f9ae7ab add flake
2025-05-24 22:39:57 -06:00

29 lines
623 B
Nix

{
description = "Flake to build and develop Nyxi";
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
zola serve
'';
};
}
);
}