Loading nixos/modules/services/development/athens.nix +8 −48 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -303,7 +295,6 @@ in "disk" "mongo" "gcp" "minio" "s3" "azureblob" "external" Loading Loading @@ -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; Loading Loading @@ -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 { Loading Loading @@ -991,4 +943,12 @@ in }; }; imports = [ (lib.mkRemovedOptionModule [ "services" "athens" "storage" "minio" ] "Support for Minio storage backend has been removed, as minio is unmaintained.") ]; } Loading
nixos/modules/services/development/athens.nix +8 −48 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -303,7 +295,6 @@ in "disk" "mongo" "gcp" "minio" "s3" "azureblob" "external" Loading Loading @@ -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; Loading Loading @@ -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 { Loading Loading @@ -991,4 +943,12 @@ in }; }; imports = [ (lib.mkRemovedOptionModule [ "services" "athens" "storage" "minio" ] "Support for Minio storage backend has been removed, as minio is unmaintained.") ]; }