nix-module-wrapper-manager-fds/docs/website/shell.nix

27 lines
648 B
Nix
Raw Permalink Normal View History

let
sources = import ../../npins;
in
2024-07-31 13:51:40 +00:00
{
pkgs ? import sources.nixos-unstable { },
}:
let
docs = import ../. { inherit pkgs; };
2024-11-15 06:29:04 +00:00
website = docs.website { };
in
pkgs.mkShell {
2024-11-15 06:29:04 +00:00
inputsFrom = [ website ];
packages = with pkgs; [
2024-11-15 06:29:04 +00:00
bundix
nodePackages.prettier
vscode-langservers-extracted
];
shellHook = ''
install -Dm0644 ${docs.wmOptionsDoc.optionsAsciiDoc} ./content/en/wrapper-manager-env-options.adoc
install -Dm0644 ${docs.wmNixosDoc.optionsAsciiDoc} ./content/en/wrapper-manager-nixos-module.adoc
install -Dm0644 ${docs.wmHmDoc.optionsAsciiDoc} ./content/en/wrapper-manager-home-manager-module.adoc
'';
}