feat: Add jconfig.dev.enable option
Currently it only enables dev documentation, but maybe I'll add more stuff.
This commit is contained in:
parent
3da158a7fa
commit
f01a1463fe
2 changed files with 10 additions and 0 deletions
|
@ -46,6 +46,9 @@ in
|
|||
pkgs.unzip
|
||||
];
|
||||
|
||||
# Enable dev documentation
|
||||
documentation.dev.enable = cfg.dev.enable;
|
||||
|
||||
# Shell prompt
|
||||
programs.starship.enable = true;
|
||||
programs.starship.settings = lib.mkIf cfg.styling.enable {
|
||||
|
|
|
@ -45,6 +45,13 @@ let
|
|||
|
||||
config.options = {
|
||||
enable = lib.mkEnableOption "jalil's default configuration.";
|
||||
dev = lib.mkOption {
|
||||
description = lib.mdDoc "Options for setting up a dev environment";
|
||||
default = { };
|
||||
type = types.submodule {
|
||||
options.enable = lib.mkEnableOption "dev configuration";
|
||||
};
|
||||
};
|
||||
gui = lib.mkOption {
|
||||
description = lib.mdDoc "Jalil's default configuration for a NixOS gui.";
|
||||
default = { };
|
||||
|
|
Loading…
Reference in a new issue