about summary refs log tree commit diff
path: root/nixos/modules/services/amqp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm2-17/+17
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-02-04nixos/rabbitmq: Rename cookie -> unsafeCookieRobert Hensing1-3/+17
Not a mkRenamedOptionModule, because user intervention is required to determine whether they have a problem. mkRenamed* does not let us explain anything to the user.
2024-01-26nixos/rabbitmq: prefer 'install' over 'mkdir/chmod/chown'Felix Buehler1-2/+1
2023-11-27treewide: use `mkPackageOption`h7x41-8/+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-01-12nixos/activemq: deprecate phasesFelix Buehler1-13/+12
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-07-30treewide: automatically md-convert option descriptionspennae2-27/+27
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 Favier2-3/+4
2021-09-12nixos/rabbitmq: clean-up after f091420c1d194ad398142959266f18493da1ff83ajs1241-19/+8
2021-08-30rabbitmq: add option to enable management pluginhappysalada1-0/+27
2021-08-30rabbitmq: nixpkgs-fmthappysalada1-6/+7
2021-06-18nixos/rabbitmq: use `port` typeDaniel Nagy1-1/+1
2021-01-22activemq: add type to configurationDir (#110450)Fritz Otlinghaus1-0/+1
2020-04-21treewide: add bool type to enable options, or make use of mkEnableOptionDominik Xaver Hörl1-0/+1
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
2020-04-02nixos/treewide: Fix incorrectly rendered examplesSilvan Mosberger1-3/+5
Many options define their example to be a Nix value without using literalExample. This sometimes gets rendered incorrectly in the manual, causing confusion like in https://github.com/NixOS/nixpkgs/issues/25516 This fixes it by using literalExample for such options. The list of option to fix was determined with this expression: let nixos = import ./nixos { configuration = {}; }; lib = import ./lib; valid = d: { # escapeNixIdentifier from https://github.com/NixOS/nixpkgs/pull/82461 set = lib.all (n: lib.strings.escapeNixIdentifier n == n) (lib.attrNames d) && lib.all (v: valid v) (lib.attrValues d); list = lib.all (v: valid v) d; }.${builtins.typeOf d} or true; optionList = lib.optionAttrSetToDocList nixos.options; in map (opt: { file = lib.elemAt opt.declarations 0; loc = lib.options.showOption opt.loc; }) (lib.filter (opt: if opt ? example then ! valid opt.example else false) optionList) which when evaluated will output all options that use a Nix identifier that would need escaping as an attribute name.
2020-01-22treewide: fix redirected urlsPatrick Hilhorst1-4/+4
According to https://repology.org/repository/nix_unstable/problems, we have a lot of packages that have http links that redirect to https as their homepage. This commit updates all these packages to use the https links as their homepage. The following script was used to make these updates: ``` curl https://repology.org/api/v1/repository/nix_unstable/problems \ | jq '.[] | .problem' -r \ | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \ | sort | uniq > script.sed find -name '*.nix' | xargs -P4 -- sed -f script.sed -i ```
2020-01-19rabbitmq: make all dependencies explicitAlexey Lebedeff1-1/+4
Some things were provided by default, some by systemd unit and some were just miraculously working. This turns them into explicit dependencies of the package itself, making everything properly overrideable. + providing glibcLocales fixes elixir compile warnings + providing systemd dependency allows rabbit to use systemctl for unit activation check instead of falling back to sleep. This was seen as a warning during startup.
2019-10-18nixos/rabbitmq: use a literalExample for example configItemsedef1-4/+6
2019-09-25nixos/rabbitmq: use an attrset for example configItemsedef1-6/+4
2019-08-31nixos/modules: Remove all usages of types.stringSilvan Mosberger1-3/+3
And replace them with a more appropriate type Also fix up some minor module problems along the way
2019-04-13nixos/rabbitmq: replace deprecated usage of PermissionsStartOnlyAaron Andersen1-4/+1
see https://github.com/NixOS/nixpkgs/issues/53852
2018-11-03rabbitmq module: Update documentation after proofreadingRobert Hensing1-2/+2
Thanks @c0bw3b, @lsix!
2018-09-27rabbitmq module: Update documentationRobert Hensing1-6/+23
Elaborate on the two config file formats.
2018-09-25rabbitmq module: modernize after package upgradeAlexey Lebedeff1-18/+72
- Use socket-activated epmd - that way there won't be any trouble when more than one erlang system is used within a single host. - Use new automation-friendly configuration file format - Use systemd notifications instead of buggy 'rabbitmqctl wait' for confirming successful server startup. 'wait' bug: https://github.com/rabbitmq/rabbitmq-server/issues/463 - Use 'rabbitmqctl shutdown' instead of 'stop', because it's not pid-file based - Use sane systemd unit defaults from RabbitMQ repo: https://github.com/rabbitmq/rabbitmq-server/blob/master/docs/rabbitmq-server.service.example - Support for external plugins
2018-06-30nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2-4/+4
2017-09-23nixos/rabbitmq: fix restarts and sasl logsGraham Christensen1-2/+3
1. The chmod 400 with the preset cookie prevented restarts, as on the second boot it would fail to write to the cookie. Oops. 2. As far as I can tell, sasl logs were disabled because of the following error: {error,{cannot_log_to_tty,sasl_report_tty_h,not_installed}} Not because we actually wanted to disable them. This meant the management plugin wasn't usable due to a bug set to be fixed in 3.7.0.
2016-02-03nixos manuals: bring back package referencesVladimír Čunát1-2/+1
This reverts most of 89e983786a, as those references are sanitized now. Fixes #10039, at least most of it. The `sane` case wasn't fixed, as it calls a *function* in pkgs to get the default value.
2016-02-03Revert "Merge #12357: nixos docs: show references to packages"Vladimír Čunát1-1/+2
The PR wasn't good enough yet. This reverts commit b2a37ceeea8c38ec71447f8dae1e6890a8cf982d, reversing changes made to 7fa9a1abce623aaf18b22f5dca3fc8a44a494e8d.
2016-01-13nixos manuals: bring back package referencesVladimír Čunát1-2/+1
This reverts most of 89e983786a, as those references are sanitized now. Fixes #10039, at least most of it. The `sane` case wasn't fixed, as it calls a *function* in pkgs to get the default value.
2015-12-08nixos/rabbitmq: fix link to documentationPascal Wittmann1-1/+1
2015-09-24Manual: Remove store path referencesEelco Dolstra1-1/+2
2015-01-26nixos/rabbitmq: fix moduleJaka Hudoklin1-12/+20
2014-09-13nixos/rabbitmq: wait for startJaka Hudoklin1-0/+4
2014-07-28Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra1-2/+39
Conflicts: pkgs/applications/audio/espeak/edit.nix pkgs/applications/audio/lmms/default.nix pkgs/desktops/e18/enlightenment.nix pkgs/games/exult/default.nix pkgs/os-specific/linux/alsa-plugins/default.nix
2014-07-26RabbitMQ service: add properties essential for clustersEvgeny Egorochkin1-2/+39
2014-07-07Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra1-1/+1
2014-07-02Get all lib functions from lib, not pkgs.lib, in modulesShea Levy1-1/+1
2014-06-30Another attempt to eradicate ensureDirEelco Dolstra1-1/+1
See c556a6ea46e71e1907d78b71fab36df30297b3ad.
2014-04-14Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2-4/+4
Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
2014-03-29nixos/rabbitmq: rewriteJaka Hudoklin1-37/+32
- rewrite from old jobs options to new services - add simple test - add dataDir option
2013-10-10Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra3-0/+244