minio.hades
This commit is contained in:
parent
d9a2fb13dd
commit
30450f4750
2 changed files with 18 additions and 1 deletions
|
@ -56,7 +56,6 @@
|
||||||
hostname = "minio";
|
hostname = "minio";
|
||||||
ip = "192.168.0.112";
|
ip = "192.168.0.112";
|
||||||
mac = "ae:c6:94:bb:c5:d9";
|
mac = "ae:c6:94:bb:c5:d9";
|
||||||
nix = false;
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostname = "cshub2";
|
hostname = "cshub2";
|
||||||
|
|
18
nixos/hosts/hades/minio/configuration.nix
Normal file
18
nixos/hosts/hades/minio/configuration.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue