make enable in develop module overlay the regular config
This commit is contained in:
parent
3e0154df22
commit
6a9c9276bd
1 changed files with 9 additions and 6 deletions
|
@ -17,12 +17,15 @@ in {
|
|||
config = let
|
||||
config =
|
||||
if cfg.enable
|
||||
then {
|
||||
then
|
||||
(cfg
|
||||
// {
|
||||
enable = true;
|
||||
nix.enable = true;
|
||||
tools.enable = true;
|
||||
docs.enable = true;
|
||||
lsp.c.enable = true;
|
||||
}
|
||||
})
|
||||
else cfg;
|
||||
in
|
||||
lib.mkMerge [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue