downgrade minio, need to migrate

This commit is contained in:
Vivian 2022-12-25 17:35:14 +01:00
parent da8ed12739
commit 205e7de702
4 changed files with 59 additions and 5 deletions

View file

@ -1,8 +1,7 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
let
vs = config.vault-secrets.secrets;
in
{
in {
system.stateVersion = "22.11";
networking.firewall.allowedTCPPorts = [ 9000 9001 ];
@ -14,5 +13,6 @@ in
services.minio = {
enable = true;
rootCredentialsFile = "${vs.minio}/environment";
package = pkgs.v.minio-old;
};
}

View file

@ -2,8 +2,8 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
let
{ config, pkgs, lib, ... }:
let
vs = config.vault-secrets.secrets;
listenPort = 9000;
consolePort = 9001;