infrastructure/nixos/hosts/hades/minio/configuration.nix
Vivian 2c16870d66
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
nixfmt
2023-05-04 13:08:10 +02:00

18 lines
377 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";
package = pkgs.minio_legacy_fs;
};
}