fediversity.eu/flake.nix
Arnout Engelen 96642652ad
WIP: add flake devShell
Adds a flake so you can use `nix develop` to enter a devShell where
you can use `hugo` to regenerate the site.

Unfortunately this does not quite work yet: it makes various incorrect
changes to the site, such as replacing links in the menu with `/`.
2024-09-23 14:46:14 +02:00

19 lines
366 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }: {
devShells."x86_64-linux".default =
let
pkgs = nixpkgs.legacyPackages."x86_64-linux";
in
pkgs.mkShell {
packages = [
pkgs.hugo
pkgs.go
pkgs.nodejs
];
};
};
}