feat: initial setup for hugo

This commit is contained in:
silver 2025-02-13 13:54:56 +00:00
parent 66c682122c
commit b52a477c51
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
8 changed files with 115 additions and 0 deletions

24
flake.nix Normal file
View file

@ -0,0 +1,24 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
...
} @ inputs: let
pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs;
in {
devShells.x86_64-linux.default = pkgs.mkShell {
name = "Hugo build env";
nativeBuildInputs = [
pkgs.hugo
];
buildInputs = [];
# shellHook = ''export EDITOR="${pkgs.nano}/bin/nano --nonewlines"; unset LD_LIBRARY_PATH;'';
};
};
}