nixos/athens: remove minio support

https://github.com/NixOS/nixpkgs/issues/490996

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2026-02-25 09:30:38 +01:00
parent 5a22af774a
commit 5c6f18d76d
+8 -48
View File
@@ -81,14 +81,6 @@ let
Bucket = cfg.storage.gcp.bucket;
JSONKey = cfg.storage.gcp.jsonKey;
};
Minio = {
Endpoint = cfg.storage.minio.endpoint;
Key = cfg.storage.minio.key;
Secret = cfg.storage.minio.secret;
EnableSSL = cfg.storage.minio.enableSSL;
Bucket = cfg.storage.minio.bucket;
region = cfg.storage.minio.region;
};
Mongo = {
URL = cfg.storage.mongo.url;
DefaultDBName = cfg.storage.mongo.defaultDBName;
@@ -303,7 +295,6 @@ in
"disk"
"mongo"
"gcp"
"minio"
"s3"
"azureblob"
"external"
@@ -700,44 +691,6 @@ in
};
};
minio = {
endpoint = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Endpoint of the minio storage backend.";
example = "minio.example.com:9001";
default = null;
};
key = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Access key id for the minio storage backend.";
example = "minio";
default = null;
};
secret = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Secret key for the minio storage backend. Warning: this is stored in plain text in the config file.";
example = "minio123";
default = null;
};
enableSSL = lib.mkOption {
type = lib.types.bool;
description = "Enable SSL for the minio storage backend.";
default = false;
};
bucket = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Bucket name for the minio storage backend.";
example = "gomods";
default = null;
};
region = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Region for the minio storage backend.";
example = "us-east-1";
default = null;
};
};
mongo = {
url = lib.mkOption {
type = lib.types.nullOr lib.types.str;
@@ -774,7 +727,6 @@ in
key = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Access key id for the S3 storage backend.";
example = "minio";
default = null;
};
secret = lib.mkOption {
@@ -991,4 +943,12 @@ in
};
};
imports = [
(lib.mkRemovedOptionModule [
"services"
"athens"
"storage"
"minio"
] "Support for Minio storage backend has been removed, as minio is unmaintained.")
];
}