about summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/minio.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm1-10/+10
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2024-01-19nixos: fix a bunch of services missing dep on network-online.targetJade Lovelace1-0/+1
This was done by generating a truly hilarious configuration: rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix The following were not tested due to other evaluation errors. They should probably be manually audited. services.amule services.castopod services.ceph services.chatgpt-retrieval-plugin services.clamsmtp services.clight services.dante services.dex services.discourse services.dwm-status services.engelsystem services.foundationdb services.frigate services.frp services.grocy services.guacamole-client services.hedgedoc services.home-assistant services.honk services.imaginary services.jitsi-meet services.kerberos_server services.limesurvey services.mastodon services.mediawiki services.mobilizon services.moodle services.mosquitto services.nextcloud services.nullmailer services.patroni services.pfix-srsd services.pgpkeyserver-lite services.postfixadmin services.roundcube services.schleuder services.self-deploy services.slskd services.spacecookie services.statsd services.step-ca services.sympa services.tsmBackup services.vdirsyncer services.vikunja services.yandex-disk services.zabbixWeb
2023-11-27treewide: use `mkPackageOption`h7x41-6/+1
This commit replaces a lot of usages of `mkOption` with the package type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-07-03nixos/minio: allow distributed nodesPascal Bach1-3/+3
2023-03-16fixup! nixos/minio: activate/restart service on credentials path changesJohn Soo1-0/+3
2023-03-13nixos/minio: activate/restart service on credentials path changesJohn Soo1-23/+52
Otherwise the `minio.service` service will fail either: * with a message that the EnvironmentFile does not exist * or silently with potentially stale credentials
2023-03-13nixos/minio: format with nixpkgs-fmtJohn Soo1-5/+6
2022-08-31nixos/*: automatically convert option descriptionspennae1-1/+1
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-08-18nixos/minio: fix startup issuesuperherointj1-1/+1
2022-07-30treewide: automatically md-convert option descriptionspennae1-12/+12
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-1/+1
2021-08-10nixos/minio: allow configuring console portPascal Bach1-2/+8
2021-06-04nixos/minio: credentialfilePascal Bach1-4/+21
2021-04-10nixos/minio: allow multiple data directories for erasure codingIndiscipline1-6/+5
2019-04-13nixos/minio: replace deprecated usage of PermissionsStartOnlyAaron Andersen1-8/+5
see https://github.com/NixOS/nixpkgs/issues/53852
2018-06-30nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink1-2/+2
2018-06-08minio: Output server logs & startup in json formatHamish Mackenzie1-1/+1
Currently minio logs with enhanced tty data and journalctl does not include anything useful as a result: ``` Jun 08 11:03:28 alpha minio[17813]: [78B blob data] Jun 08 11:03:28 alpha minio[17813]: [49B blob data] Jun 08 11:03:28 alpha minio[17813]: [19B blob data] Jun 08 11:03:28 alpha minio[17813]: [88B blob data] Jun 08 11:03:28 alpha minio[17813]: [45B blob data] Jun 08 11:03:28 alpha minio[17813]: [44B blob data] Jun 08 11:03:28 alpha minio[17813]: [57B blob data] ``` Indicating that it detected some binary output. With the `--json` flag it logs: ``` Jun 08 11:14:58 alpha minio[18573]: {"level":"FATAL","time":"2018-06-07T23:14:58.770637778Z","error":{"message":"--address input is invalid: address 127.0.0.1: missing port in address","source":["/build/go/src/github.com/minio/minio/cmd/server-main.go:121:cmd.serverHandleCmdArgs()"]}} ```
2017-07-09minio service: add additional config optionsPascal Bach1-0/+42
Set access and secret key and disable browser. Tests extended to do real operations against minio.
2017-06-26minio service: add inital servicePascal Bach1-0/+69
features: - change listen port and address - configure config and data directory - basic test to check if minio server starts