diff --git a/hosts/VEGAS/services/object-storage/default.nix b/hosts/VEGAS/services/object-storage/default.nix index 83b18fe..619286d 100644 --- a/hosts/VEGAS/services/object-storage/default.nix +++ b/hosts/VEGAS/services/object-storage/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, tools, ... }: +{ config, inputs, lib, pkgs, tools, ... }: with tools.nginx; let addrSplit' = builtins.split ":" config.services.minio.listenAddress; @@ -7,7 +7,7 @@ let host = if host' == "" then "127.0.0.1" else host'; port = builtins.head (builtins.tail addrSplit); - minioConsole = pkgs.callPackage ./console.nix {}; + minioConsole = inputs.self.packages.${pkgs.system}.minio-console; in { reservePortsFor = [ "minioConsole" ]; diff --git a/packages/packages.nix b/packages/packages.nix index b1737d0..db24227 100644 --- a/packages/packages.nix +++ b/packages/packages.nix @@ -24,5 +24,7 @@ in hyprspace = pkgs.callPackage ./networking/hyprspace { iproute2mac = null; }; + minio-console = pkgs.callPackage ./servers/minio-console { }; + privatevoid-smart-card-ca-bundle = pkgs.callPackage ./data/privatevoid-smart-card-certificate-authority-bundle.nix { }; } diff --git a/hosts/VEGAS/services/object-storage/console.nix b/packages/servers/minio-console/default.nix similarity index 57% rename from hosts/VEGAS/services/object-storage/console.nix rename to packages/servers/minio-console/default.nix index 6b8b32c..33081ef 100644 --- a/hosts/VEGAS/services/object-storage/console.nix +++ b/packages/servers/minio-console/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "minio-console"; - version = "0.12.5"; + version = "0.13.2"; src = fetchFromGitHub { owner = "minio"; repo = "console"; rev = "v${version}"; - sha256 = "sha256-Lyji1V5K8n7NvIqDecbIp1iGPZM4E+XIvexppk5qOZI="; + sha256 = "sha256-Ku1k0bm2CIpUVyA7GWCDS76kAukITk1F561wG/cPVxc="; }; - vendorSha256 = "sha256-LhDrbkxOlSuYCboAwEZ1ePp2Dl6akxjMvCKFHfPInlU="; + vendorSha256 = "sha256-7YPTNzYq9xz+yYIy6ItBgRicBlENLJk2HDRXfVZ74z8="; doCheck = false; }