Use Cheetah
This commit is contained in:
parent
2255fb7802
commit
d1ed030062
45 changed files with 382 additions and 17080 deletions
19
flake.nix
Normal file
19
flake.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
inputs = {
|
||||
cheetah.url = "github:aleksrutins/cheetah";
|
||||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, utils, cheetah }:
|
||||
let config = {
|
||||
always_hydrate = true;
|
||||
};
|
||||
in utils.lib.eachDefaultSystem (system: {
|
||||
packages.default = (cheetah.buildSite.${system} ./. {
|
||||
name = "site";
|
||||
inherit config;
|
||||
});
|
||||
|
||||
devShells.default = (cheetah.createDevShell.${system} { inherit config; });
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue