Simplify option evaluation

This commit is contained in:
Manuel Thalmann 2024-05-15 17:22:34 +02:00
parent 097a871b75
commit 5d88c33a3a

View file

@ -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