mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/influxdb2: do not load passwordFile and tokenFile when provisioning is disabled
This commit is contained in:
parent
8a294d53a8
commit
a4c6594dcd
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ in
|
|||
LimitNOFILE = 65536;
|
||||
KillMode = "control-group";
|
||||
Restart = "on-failure";
|
||||
LoadCredential = [
|
||||
LoadCredential = mkIf cfg.provision.enable [
|
||||
"admin-password:${cfg.provision.initialSetup.passwordFile}"
|
||||
"admin-token:${cfg.provision.initialSetup.tokenFile}"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue