Simplify option evaluation
This commit is contained in:
parent
097a871b75
commit
5d88c33a3a
1 changed files with 8 additions and 11 deletions
|
@ -78,11 +78,8 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config =
|
config = {
|
||||||
let
|
inherit (provider (lib.debug.traceVal config))
|
||||||
syncProvider = syncProviders.${config.type} config;
|
|
||||||
in {
|
|
||||||
inherit (syncProvider)
|
|
||||||
environment
|
environment
|
||||||
secretsScript
|
secretsScript
|
||||||
config
|
config
|
||||||
|
|
Loading…
Reference in a new issue