static_pages/flake.nix

23 lines
535 B
Nix
Raw Normal View History

2024-08-01 17:23:26 -07:00
{
description = "Hugo dev environment for staticpages.nickiel.net";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils"; # Input for flake-utils
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem(system:
let
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
hugo
];
};
});
}