chore: add initial nixmkdocs setup and improve documentation

This commit is contained in:
technofab 2025-08-21 13:46:24 +02:00
parent e76bef387e
commit 695d36a457
No known key found for this signature in database
11 changed files with 172 additions and 8 deletions

View file

@ -80,18 +80,36 @@ in {
name = mkOption {
type = types.str;
default = "devshell";
description = ''
Name of the shell.
'';
};
packages = mkOption {
type = types.listOf types.package;
default = [];
description = ''
Packages to install into the devshell.
'';
};
enterShellCommands = mkOption {
type = types.attrsOf entryType;
default = {};
description = ''
Commands to run when entering the shell.
'';
example = {
"hello".text = "echo Hello world";
};
};
interactiveShellCommands = mkOption {
type = types.attrsOf entryType;
default = {};
description = ''
Commands to run when entering an interactive shell.
'';
example = {
"hello".text = "echo Hello world";
};
};
};