Added Nix Flake for Hugo

This commit is contained in:
2025-10-21 09:46:48 +02:00
parent fc43ee8d03
commit 8db3282fd8
2 changed files with 81 additions and 0 deletions

20
flake.nix Normal file
View File

@@ -0,0 +1,20 @@
{
description = "A simple development workspace for working with Hugo";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs { inherit system; };
in {
devShell = pkgs.mkShell {
# Packages to install
buildInputs = [
pkgs.hugo
];
};
});
}