docs: refactor

This commit is contained in:
zowoq 2025-01-18 10:09:22 +10:00
parent 0d28f2b671
commit f83732c8cc
2 changed files with 34 additions and 31 deletions

View file

@ -1,5 +1,7 @@
{ config, pkgs, ... }:
{
perSystem =
{ config, pkgs, ... }:
{
devShells.mkdocs = pkgs.mkShellNoCC { inputsFrom = [ config.packages.docs ]; };
packages = {
docs =
@ -32,4 +34,5 @@
site = config.packages.docs;
};
};
};
}

View file

@ -54,6 +54,7 @@
systems = import inputs.systems;
imports = [
./dev/docs.nix
./dev/effect-deploy.nix
./modules
inputs.hercules-ci-effects.flakeModule
@ -107,7 +108,6 @@
}:
{
imports = [
./dev/docs.nix
./dev/shell.nix
./terraform/shell.nix
];