minio.hades

This commit is contained in:
Vivian 2022-10-02 17:44:43 +02:00
parent d9a2fb13dd
commit 30450f4750
2 changed files with 18 additions and 1 deletions

View file

@ -56,7 +56,6 @@
hostname = "minio";
ip = "192.168.0.112";
mac = "ae:c6:94:bb:c5:d9";
nix = false;
}
{
hostname = "cshub2";

View file

@ -0,0 +1,18 @@
{ 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";
};
}