VEGAS/object-storage: set root credentials path in module option
This commit is contained in:
parent
16a58587d1
commit
40a33a1450
1 changed files with 1 additions and 3 deletions
|
@ -26,13 +26,11 @@ in
|
|||
};
|
||||
services.minio = {
|
||||
enable = true;
|
||||
# requires https://github.com/NixOS/nixpkgs/pull/123834
|
||||
# rootCredentialsFile = "/dev/null";
|
||||
rootCredentialsFile = config.age.secrets.minio-root-credentials.path;
|
||||
dataDir = [ "/srv/storage/objects" ];
|
||||
browser = true;
|
||||
};
|
||||
systemd.services.minio.serviceConfig = {
|
||||
EnvironmentFile = config.age.secrets.minio-root-credentials.path;
|
||||
Slice = "remotefshost.slice";
|
||||
};
|
||||
services.nginx.virtualHosts = mappers.mapSubdomains {
|
||||
|
|
Loading…
Reference in a new issue