Merge pull request #148389 from GTrunSec/consul

nixos/consul: update deprecated setting
This commit is contained in:
Niklas Hambüchen 2021-12-03 21:53:10 +01:00 committed by GitHub
commit 6c9f46d063
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,9 @@ let
configOptions = {
data_dir = dataDir;
ui = cfg.webUi;
ui_config = {
enabled = cfg.webUi;
};
} // cfg.extraConfig;
configFiles = [ "/etc/consul.json" "/etc/consul-addrs.json" ]