devshells: add website devshell

This commit is contained in:
ooks-io 2024-10-31 17:27:56 +11:00
parent a9280b78cd
commit f1ebe05f1d
3 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{pkgs, ...}: let
inherit (builtins) attrValues;
in {
name = "ooknet website devshell";
packages = attrValues {
inherit (pkgs) zola;
};
shellHook = ''
echo "Entering website devshell";
cd $WEBSITE/src
echo "Serving website"
zola serve
'';
}