seandugre.com/shell.nix
2025-11-30 19:29:31 -05:00

20 lines
552 B
Nix

let
nixpkgs = builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz";
pkgs = import nixpkgs { };
hugo-theme = builtins.fetchTarball {
url = "https://github.com/panr/hugo-theme-terminal/archive/refs/tags/v4.2.3.tar.gz";
name = "hugo-theme-terminal";
sha256 = "10n1frbm1qvwyq5gz7hfdz4aapkzbamgpbwk1941ajm5axbb53hm";
};
in
pkgs.mkShellNoCC {
packages = [
pkgs.hugo
pkgs.just
];
shellHook = ''
mkdir -p themes
ln -snf "${hugo-theme}" themes/default
'';
}