From 3c707a3233817fff5cbe2a3e008c00060f1e9931 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sat, 20 Jun 2026 16:58:15 -0500 Subject: [PATCH] deprecate minio --- nixos/configuration.nix | 45 ++++++++++++++++++++++------------------- nixos/flake.nix | 5 ++--- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index e375639..3384b26 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -119,30 +119,32 @@ # Fullstack sourcecode - # Minio for backend storage - services.minio-service = { - enable = true; - - # Persist (or don't) the data inside of database - dataDir = "/var/data/minio"; - credentialsFile = config.sops.secrets."minio-credentials".path; - - dataPort = 9000; # S3 API access - consolePort = 9001; # Admin console access - - bootstrap-minio = { + /* + MINIO DEPRECATED + services.minio-service = { enable = true; - environments = [ - "dev" - "prod" - ]; - }; - default-nginx = { - enable = true; - hostname = "imgs.roypository.com"; + # Persist (or don't) the data inside of database + dataDir = "/var/data/minio"; + credentialsFile = config.sops.secrets."minio-credentials".path; + + dataPort = 9000; # S3 API access + consolePort = 9001; # Admin console access + + bootstrap-minio = { + enable = true; + environments = [ + "dev" + "prod" + ]; + }; + + default-nginx = { + enable = true; + hostname = "imgs.roypository.com"; + }; }; - }; + */ # Postgresql/postgrest for row storage (not on k3s) services.postgresql-db = { @@ -205,6 +207,7 @@ ''; }; }; + networking = { hostName = meta.hostname; hostId = meta.hostId; diff --git a/nixos/flake.nix b/nixos/flake.nix index 5eceb41..548ac76 100755 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -29,7 +29,8 @@ # It just happens to be stored in the same repository (relative), # but could well be a separate repository nimh-static.url = "path:../homelab-services/nimh-static"; - minio-service.url = "path:../homelab-services/minio-service"; + # MINIO IS DEPRECATED, KEEPING CODE FOR REFERENCE. MOVE TO GARAGE/SEAWEEDFS + # minio-service.url = "path:../homelab-services/minio-service"; mc-service.url = "path:../homelab-services/mc-service"; postgresql-db.url = "path:../homelab-services/postgresql-db"; }; @@ -46,7 +47,6 @@ impermanence, firefox-addons, nimh-static, - minio-service, mc-service, postgresql-db, }@inputs: @@ -80,7 +80,6 @@ quasiSecrets.nixosModules.serviceList impermanence.nixosModules.impermanence nimh-static.nixosModules.nimh-static - minio-service.nixosModules.minio-service mc-service.nixosModules.mc-service postgresql-db.nixosModules.postgresql-db home-manager.nixosModules.home-manager