Commit graph

334973 commits

Author SHA1 Message Date
pennae
e67a646a92 treewide: add defaultText to remaining options
these are mostly options that use alias bindings, bindings to constants,
or bindings to calculated values.
2021-12-09 01:42:24 +01:00
pennae
1f960e7571 nixos/captive-browser: add defaultText for browser
easiest way to do this is to move the default expression out and
abstract over what is substituted into it, using a dependent value for
the default and a descriptive value for defaultText
2021-12-09 01:42:24 +01:00
pennae
0eaf46a1dc nixos/system-path: add defaultText for defaultPackages 2021-12-09 01:42:24 +01:00
pennae
1060fefae3 nixos/tarsnap, nixos/neo4j: defaultText for submodule options
unfortunately we don't have a good way to represent defaults that
reference other values of the current submodule, so we just use the
relative path of the referenced value and assume that the submodule was
declared as `rec`.
2021-12-09 01:42:24 +01:00
pennae
9407761763 treewide: add defaultText for options using other shortcut bindings 2021-12-09 01:42:24 +01:00
pennae
3226c5aded nixos/hbase: refactor settings option
instead of keeping a defaultConfig value around, set that value as the
default of the option and explicitly use the option default instead.
this also allows us to write a defaultText that makes sense and is in
proximity to the definition of the default.
2021-12-09 01:38:24 +01:00
pennae
2d564521c0 treewide: add literalDocBook text to options with complex defaults
some options have default that are best described in prose, such as
defaults that depend on the system stateVersion, defaults that are
derivations specific to the surrounding context, or those where the
expression is much longer and harder to understand than a simple text
snippet.
2021-12-09 01:38:24 +01:00
pennae
6eaf4f90c2 nixos/mpdscribble: add defaultText for some options using mpdCfg 2021-12-09 01:38:24 +01:00
pennae
b9950385e5 treewide: make option examples constant
escape interpolations in examples, or replace them where they are not
useful.
2021-12-09 01:38:24 +01:00
pennae
e72435e612 treewide: make option descriptions constants
escape interpolations in descriptions where possible, replace them with
sufficiently descriptive text elsewhere. also expand cfg.* paths in
descriptions.
2021-12-09 01:21:04 +01:00
pennae
ed673a69db treewide: add defaultText for options with simple cfg.* expression defaults
adds defaultText for options with defaults that use only literals, full config.*
paths, and the cfg shortcut binding.
2021-12-09 01:14:16 +01:00
pennae
fb0e5be843 treewide: add defaultText for options with simple interpolation defaults
adds defaultText for all options that use `cfg.*` values in their
defaults, but only for interpolations with no extra processing (other
than toString where necessary)
2021-12-09 01:13:48 +01:00
pennae
f6d0b014fe nixos/kubernetes: add defaultText for addons options using top.*
the kubernetes modules cross-reference their config using an additional shortcut
binding `top = config.services.kubernetes`, expand those to defaultText like
`cfg` previously.
2021-12-09 01:13:12 +01:00
pennae
e24a8775a8 treewide: set defaultText for options using simple path defaults
adds defaultText for all options that set their default to a path expression
using the ubiquitous `cfg` shortcut bindings.
2021-12-09 01:12:13 +01:00
pennae
70b105d1d0 nixos/journalbeat: remove support for versions < 6
nixos no longer ships journalbeat 5 and hasn't since at least 20.09. remove
checks for older versions from the module.
2021-12-08 21:41:18 +01:00
Silvan Mosberger
6d80d3c964 nixos/modules: Allow options to be coerced to a string for convenience 2021-12-08 21:41:17 +01:00
Sandro
132a72bc3b
Merge pull request #147517 from dotlambda/abcmidi-2021.11.25 2021-11-30 20:35:04 +01:00
Sandro
4f6849f7c4
Merge pull request #147436 from jtojnar/sharedown 2021-11-30 20:27:57 +01:00
Sandro
70142e87a4
Merge pull request #147074 from dotlambda/pikepdf-4.0.2 2021-11-30 20:23:58 +01:00
Sandro
f717290916
Merge pull request #146972 from mkg20001/nvx11 2021-11-30 20:21:43 +01:00
Sandro
b47fdcad07
Merge pull request #147488 from mweinelt/ldns 2021-11-30 20:11:12 +01:00
Sergei Trofimovich
1923c51c0a
cdesktopenv: fix build on upcoming binutils-2.36 (#146750)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-30 20:10:07 +01:00
Sandro
3df4d6608f
Merge pull request #146569 from WolfangAukang/qflipper 2021-11-30 20:09:41 +01:00
Sandro
c9651a7573
Merge pull request #146044 from Atemu/update/linux_lqx 2021-11-30 20:06:31 +01:00
Sandro
ed3ec1bd34
Merge pull request #142645 from Flakebi/salt 2021-11-30 20:03:50 +01:00
Sandro
5b42db3598
Merge pull request #144084 from trofi/update-cvise 2021-11-30 20:03:20 +01:00
Sandro
9520c4270e
Merge pull request #147721 from illdefined/bakelite 2021-11-30 19:54:27 +01:00
Artturi
47291630c4
Merge pull request #144969 from trofi/fix-freesweep-for-ncurses-6.13 2021-11-30 20:51:11 +02:00
Sandro
14573348a1
Merge pull request #147674 from trofi/fix-cdrkit-on-fno-common 2021-11-30 19:50:41 +01:00
Sandro
e038bc08cd
Merge pull request #147666 from ylh/patch-vcs 2021-11-30 19:49:50 +01:00
Sandro
dc79916412
Merge pull request #147066 from smancill/python3-pyahocorasick-upstream-patch 2021-11-30 19:48:59 +01:00
Sandro
646b059bd0
Merge pull request #147065 from smancill/python3-ledgerwallet-upstream-patch 2021-11-30 19:48:42 +01:00
Sandro
8d73f87620
Merge pull request #147416 from erictapen/scribusUnstable 2021-11-30 19:47:03 +01:00
Sandro
ac72629607
Merge pull request #147196 from trofi/fix-bviplus-for-ncurses-6.3 2021-11-30 19:40:04 +01:00
Maciej Krüger
aae62adc6e
Merge pull request #147844 from mkg20001/cin 2021-11-30 19:18:14 +01:00
Artturi
5cf3e3a7bd
Merge pull request #144399 from r-ryantm/auto-update/libmysofa 2021-11-30 20:05:46 +02:00
Sandro
0e99c6fbc6
Merge pull request #147549 from trofi/fix-gst-plugins-bad-on-gcc-11 2021-11-30 18:33:46 +01:00
Sandro
92e4aecf09
Merge pull request #147578 from rhoriguchi/solaar 2021-11-30 18:32:16 +01:00
Sandro
f8010e86f0
Merge pull request #146922 from hjones2199/indi193 2021-11-30 18:24:23 +01:00
Sandro
e6e8cb81bd
Merge pull request #146895 from trofi/fix-nx-libs-for-binutils-2.36 2021-11-30 18:23:11 +01:00
Sandro
37ced1e87f
Merge pull request #146879 from pacien/gscan2pdf-2.12.4 2021-11-30 18:22:38 +01:00
Sandro
43ff00e55e
Merge pull request #146779 from Technical27/update-lunar 2021-11-30 18:21:13 +01:00
Sandro
e7bf4226dc
Merge pull request #147727 from trofi/fix-noice-for-ncurses-6.3 2021-11-30 18:18:28 +01:00
Sandro
db0968babb
Merge pull request #147778 from trofi/fix-gptfdisk-on-ncurses-6.3 2021-11-30 18:17:21 +01:00
Sandro
c876d31bd1
Merge pull request #144975 from trofi/fix-gmu-for-ncurses-6.13 2021-11-30 18:15:20 +01:00
Sandro
f52673af0e
Merge pull request #144700 from ryantm/auto-update/linode-cli 2021-11-30 18:14:55 +01:00
Sandro
e8a26284e5
Merge pull request #148016 from andresilva/ledger-live-2.35.2 2021-11-30 18:14:04 +01:00
Sandro
964a962222
Merge pull request #143545 from r-ryantm/auto-update/betaflight-configurator 2021-11-30 18:13:23 +01:00
Sandro
5d46a56a1e
Merge pull request #146713 from SuperSandro2000/keen4 2021-11-30 18:09:52 +01:00
Sandro
1841f5f81c
Merge pull request #146336 from SuperSandro2000/locate-fs 2021-11-30 18:06:10 +01:00