Commit Graph

14 Commits

Author SHA1 Message Date
h7x4
0a37316d6c
treewide: use mkPackageOption
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-11-27 01:28:36 +01:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Weijia Wang
3f467ff45f mongodb-4_2: drop 2023-06-06 14:26:11 +03:00
Weijia Wang
3a8a14d894 nixos/unifi-video: bump default mongodb version 2023-01-05 19:10:35 +01:00
figsoda
6bb0dbf91f nixos: fix typos 2022-12-17 19:31:14 -05:00
Solene Rapenne
372a2d2111 nixos/unifi-video: openFirewall default to false 2022-12-05 12:03:09 +01:00
pennae
2e751c0772 treewide: automatically md-convert option descriptions
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.
2022-07-30 15:16:34 +02:00
Roland Synnestvedt
33b04f2a80 nixos/unifi-video: add deprecation warning for openFirewall 2022-03-28 19:55:50 -07:00
Roland Synnestvedt
60e62c36df nixos/unifi-video: clean up indentation and formatting 2022-03-27 13:39:19 -07:00
Roland Synnestvedt
95a3f6ad26 nixos/unifi-video: rename openPorts to openFirewall 2022-03-26 17:59:54 -07:00
Roland Synnestvedt
cb1c5dbb15 nixos/unifi-video: convert int to string in default command 2022-03-26 17:53:26 -07: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
Naïm Favier
2ddc335e6f
nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
rsynnest
b562ae6c31 nixos/unifi-video: init at 3.10.13 2021-05-31 16:26:13 -07:00