feat(home): Add options to disable dev config
Also added an option to set neovim a the manpager
This commit is contained in:
parent
b7c498a4fe
commit
d08d05450d
1 changed files with 11 additions and 2 deletions
|
@ -147,13 +147,22 @@ in
|
|||
description = lib.mdDoc "Setup development environment for programming languages.";
|
||||
default = { };
|
||||
type = types.submodule {
|
||||
options.enable = lib.mkEnableOption "development settings";
|
||||
options.neovimAsManPager = lib.mkEnableOption "neovim as the man pager";
|
||||
options.extraPackages = mkExtraPackagesOption "dev" [ [ "typos" ] [ "just" ] [ "git-absorb" ] ];
|
||||
options.rust = lib.mkOption {
|
||||
description = "Jalil's default rust configuration.";
|
||||
default = { };
|
||||
type = types.submodule {
|
||||
options.enable = lib.mkEnableOption "rust dev environment";
|
||||
options.extraPackages = mkExtraPackagesOption "Rust" [ [ "cargo-nextest" ] [ "cargo-sort" ] [ "cargo-msrv" ] [ "cargo-kcov" ] [ "cargo-watch" ] ];
|
||||
options.enable = lib.mkEnableOption "rust development settings";
|
||||
options.extraPackages = mkExtraPackagesOption "Rust" [
|
||||
[ "rust-analyzer" ]
|
||||
[ "cargo-nextest" ]
|
||||
[ "cargo-sort" ]
|
||||
[ "cargo-msrv" ]
|
||||
[ "cargo-kcov" ]
|
||||
[ "cargo-watch" ]
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue