mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-11 22:00:08 +01:00
chore: add initial nixmkdocs setup and improve documentation
This commit is contained in:
parent
e76bef387e
commit
695d36a457
11 changed files with 172 additions and 8 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue