strato-infra/nixos/machines/minio/default.nix

14 lines
341 B
Nix
Raw Normal View History

2022-05-21 21:59:14 +02:00
{ config, pkgs, ... }: {
imports = [ ../../common ../../common/lxc.nix ];
networking.hostName = "minio";
system.stateVersion = "21.11";
networking.firewall.enable = false;
networking.firewall.allowedTCPPorts = [ 9000 9001 ];
services.minio = {
enable = true;
rootCredentialsFile = "/var/lib/keys/minioSettings";
};
}