infrastructure/nixos/hosts/hades/minio/configuration.nix
2022-10-02 17:44:43 +02:00

19 lines
343 B
Nix

{ config, pkgs, ... }:
let
vs = config.vault-secrets.secrets;
in
{
system.stateVersion = "22.11";
networking.firewall.allowedTCPPorts = [ 9000 9001 ];
networking.interfaces.eth0.useDHCP = true;
vault-secrets.secrets.minio = { };
services.minio = {
enable = true;
rootCredentialsFile = "${vs.minio}/environment";
};
}