nixpkgs/nixos/modules
Morgan Jones 174b340406 nixos/mattermost: add preferNixConfig option and tests
One use case for Mattermost configuration is doing a "mostly
mutable" configuration where NixOS module options take priority
over Mattermost's config JSON.

Add a preferNixConfig option that prefers configured Nix options
over what's configured in Mattermost config if mutableConfig is set.

Remove the reliance on readFile (it's flake incompatible) and use
jq instead.

Merge Mattermost configs together on Mattermost startup, depending
on configured module options.

Write tests for mutable, mostly mutable, and immutable configurations.
2021-12-31 23:49:00 -05:00
..
config Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
hardware Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
i18n/input-method nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
installer nixos/installer: Quote variable references 2021-11-26 18:58:08 +13:00
misc nixos/mandoc: add package option 2021-12-31 11:17:34 +01:00
profiles Merge pull request #146288 from Artturin/mtoolsandsuch 2021-11-19 00:21:08 +02:00
programs qt5ct: move to qt5-packages 2021-12-27 11:03:07 -03:00
security Merge pull request #152594 from ju1m/apparmor 2021-12-31 15:09:52 +01:00
services nixos/mattermost: add preferNixConfig option and tests 2021-12-31 23:49:00 -05:00
system Merge pull request #151156 from Artturin/fsckonbat 2021-12-27 04:18:40 +02:00
tasks Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
testing nixos/lib/qemu-flags: rename to qemu-common 2021-09-18 16:58:16 +02:00
virtualisation Merge pull request #150774 from abbradar/docker-rootless 2021-12-27 20:32:57 +03:00
module-list.nix nixos/moinmoin, nixos/tests/moinmoin, python2Packages.moinmoin: remove 2021-12-31 16:39:24 -08:00
rename.nix nixos/moinmoin, nixos/tests/moinmoin, python2Packages.moinmoin: remove 2021-12-31 16:39:24 -08:00