infrastructure/nixos/hosts/hades/minio/configuration.nix
Vivian 15631ffcfe
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
updates
2023-04-24 09:35:28 +02:00

19 lines
384 B
Nix

{ config, pkgs, lib, ... }:
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";
package = pkgs.minio_legacy_fs;
};
}