summary refs log tree commit diff
path: root/nixos/modules/services/amqp/activemq/default.nix
Commit message (Collapse)AuthorAge
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* activemq: add type to configurationDir (#110450)Fritz Otlinghaus2021-01-22
|
* nixos/treewide: Fix incorrectly rendered examplesSilvan Mosberger2020-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|
* nixos manuals: bring back package referencesVladimír Čunát2016-02-03
| | | | | | | | 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.
* Revert "Merge #12357: nixos docs: show references to packages"Vladimír Čunát2016-02-03
| | | | | | The PR wasn't good enough yet. This reverts commit b2a37ceeea8c38ec71447f8dae1e6890a8cf982d, reversing changes made to 7fa9a1abce623aaf18b22f5dca3fc8a44a494e8d.
* nixos manuals: bring back package referencesVladimír Čunát2016-01-13
| | | | | | | | 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.
* Manual: Remove store path referencesEelco Dolstra2015-09-24
|
* Merge remote-tracking branch 'origin/master' into stagingEelco Dolstra2014-07-07
|\
| * Get all lib functions from lib, not pkgs.lib, in modulesShea Levy2014-07-02
| |
* | Another attempt to eradicate ensureDirEelco Dolstra2014-06-30
|/ | | | See c556a6ea46e71e1907d78b71fab36df30297b3ad.
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | 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.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10