Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8539d5f48f9d
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a21c2fa3ea2b
Choose a head ref
Loading
Showing with 2,108 additions and 4,079 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +50 −1 nixos/doc/manual/release-notes/rl-2003.xml
  3. +2 −0 nixos/modules/module-list.nix
  4. +70 −0 nixos/modules/services/databases/victoriametrics.nix
  5. +183 −94 nixos/modules/services/mail/mailman.nix
  6. +103 −0 nixos/modules/services/misc/freeswitch.nix
  7. +30 −14 nixos/modules/services/security/bitwarden_rs/default.nix
  8. +228 −78 nixos/modules/services/security/fail2ban.nix
  9. +37 −7 nixos/modules/virtualisation/lxd.nix
  10. +2 −1 nixos/tests/all-tests.nix
  11. +0 −87 nixos/tests/blivet.nix
  12. +3 −0 nixos/tests/docker-tools.nix
  13. +29 −0 nixos/tests/freeswitch.nix
  14. +38 −26 nixos/tests/gnome3.nix
  15. +18 −13 nixos/tests/graphite.nix
  16. +66 −42 nixos/tests/networking-proxy.nix
  17. +11 −14 nixos/tests/riak.nix
  18. +31 −0 nixos/tests/victoriametrics.nix
  19. +2 −2 pkgs/applications/audio/gpodder/default.nix
  20. +13 −4 pkgs/applications/audio/quodlibet/default.nix
  21. +2 −2 pkgs/applications/audio/x42-plugins/default.nix
  22. +3 −3 pkgs/applications/blockchains/go-ethereum.nix
  23. +3 −3 pkgs/applications/editors/android-studio/default.nix
  24. +5 −12 pkgs/applications/graphics/fondo/default.nix
  25. +8 −2 pkgs/applications/misc/gpxlab/default.nix
  26. +8 −2 pkgs/applications/misc/gpxsee/default.nix
  27. +5 −1 pkgs/applications/misc/hivemind/default.nix
  28. +1 −1 pkgs/applications/misc/lutris/chrootenv.nix
  29. +2 −2 pkgs/applications/misc/mkgmap/default.nix
  30. +10 −3 pkgs/applications/misc/pdfpc/default.nix
  31. +6 −6 pkgs/applications/misc/tzupdate/default.nix
  32. +2 −2 pkgs/applications/networking/cluster/kops/default.nix
  33. +2 −2 pkgs/applications/networking/cluster/kubeseal/default.nix
  34. +0 −92 pkgs/applications/networking/dat/default.nix
  35. +54 −0 pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix
  36. +2 −12 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
  37. +2 −2 pkgs/applications/networking/newsreaders/quiterss/default.nix
  38. +2 −11 pkgs/applications/office/aesop/default.nix
  39. +2 −2 pkgs/applications/office/tryton/default.nix
  40. +2 −2 pkgs/applications/office/zim/default.nix
  41. +2 −2 pkgs/applications/office/zotero/default.nix
  42. +2 −2 pkgs/applications/radio/limesuite/default.nix
  43. +2 −2 pkgs/applications/science/biology/seaview/default.nix
  44. +2 −6 pkgs/applications/science/electronics/verilator/default.nix
  45. +2 −2 pkgs/applications/science/logic/saw-tools/default.nix
  46. +2 −2 pkgs/applications/science/physics/sherpa/default.nix
  47. +6 −2 pkgs/build-support/docker/default.nix
  48. +8 −0 pkgs/build-support/docker/examples.nix
  49. +0 −9 pkgs/build-support/rust/build-rust-crate/configure-crate.nix
  50. +21 −0 pkgs/build-support/rust/build-rust-crate/test/default.nix
  51. +6 −4 pkgs/data/icons/qogir-icon-theme/default.nix
  52. +2 −2 pkgs/data/themes/yaru/default.nix
  53. +41 −9 pkgs/development/compilers/crystal/default.nix
  54. +5 −7 pkgs/development/compilers/dale/default.nix
  55. +0 −10 pkgs/development/compilers/dale/link-llvm.patch
  56. +2 −2 pkgs/development/compilers/ghc/8.2.2-binary.nix
  57. +1 −2 pkgs/development/compilers/ghc/8.6.3-binary.nix
  58. +0 −22 pkgs/development/compilers/llvm/3.5/clang-purity.patch
  59. +0 −8 pkgs/development/compilers/llvm/3.5/clang-separate-build.patch
  60. +0 −59 pkgs/development/compilers/llvm/3.5/clang.nix
  61. +0 −43 pkgs/development/compilers/llvm/3.5/default.nix
  62. +0 −27 pkgs/development/compilers/llvm/3.5/dragonegg.nix
  63. +0 −15 pkgs/development/compilers/llvm/3.5/fix-15974.patch
  64. +0 −30 pkgs/development/compilers/llvm/3.5/libc++/darwin.patch
  65. +0 −54 pkgs/development/compilers/llvm/3.5/libc++/default.nix
  66. +0 −6 pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh
  67. +0 −17 pkgs/development/compilers/llvm/3.5/libc++/xlocale-glibc-2.26.patch
  68. +0 −60 pkgs/development/compilers/llvm/3.5/libc++abi/default.nix
  69. +0 −30 pkgs/development/compilers/llvm/3.5/lld.nix
  70. +0 −45 pkgs/development/compilers/llvm/3.5/lldb.nix
  71. +0 −12 pkgs/development/compilers/llvm/3.5/llvm-separate-build.patch
  72. +0 −97 pkgs/development/compilers/llvm/3.5/llvm.nix
  73. +0 −12 pkgs/development/compilers/llvm/3.5/polly-separate-build.patch
  74. +0 −26 pkgs/development/compilers/llvm/3.5/polly.nix
  75. +0 −63 pkgs/development/compilers/llvm/3.9/clang/0001-Fix-compilation-w-gcc9.patch
  76. +0 −85 pkgs/development/compilers/llvm/3.9/clang/default.nix
  77. +0 −16 pkgs/development/compilers/llvm/3.9/clang/purity.patch
  78. +0 −59 pkgs/development/compilers/llvm/3.9/default.nix
  79. +0 −39 pkgs/development/compilers/llvm/3.9/libc++/darwin.patch
  80. +0 −52 pkgs/development/compilers/llvm/3.9/libc++/default.nix
  81. +0 −6 pkgs/development/compilers/llvm/3.9/libc++/setup-hook.sh
  82. +0 −19 pkgs/development/compilers/llvm/3.9/libc++/xlocale-glibc-2.26.patch
  83. +0 −52 pkgs/development/compilers/llvm/3.9/libc++abi.nix
  84. +0 −57 pkgs/development/compilers/llvm/3.9/lldb.nix
  85. +0 −26 pkgs/development/compilers/llvm/3.9/llvm-outputs.patch
  86. +0 −174 pkgs/development/compilers/llvm/3.9/llvm.nix
  87. +0 −59 pkgs/development/compilers/llvm/4/clang/0001-Fix-compilation-w-gcc9.patch
  88. +0 −116 pkgs/development/compilers/llvm/4/clang/default.nix
  89. +0 −16 pkgs/development/compilers/llvm/4/clang/purity.patch
  90. +0 −39 pkgs/development/compilers/llvm/4/cmdline-help.patch
  91. +0 −74 pkgs/development/compilers/llvm/4/default.nix
  92. +0 −33 pkgs/development/compilers/llvm/4/fix-gcc9.patch
  93. +0 −59 pkgs/development/compilers/llvm/4/libc++/default.nix
  94. +0 −41 pkgs/development/compilers/llvm/4/libc++/pthread_mach_thread_np.patch
  95. +0 −6 pkgs/development/compilers/llvm/4/libc++/setup-hook.sh
  96. +0 −19 pkgs/development/compilers/llvm/4/libc++/xlocale-glibc-2.26.patch
  97. +0 −52 pkgs/development/compilers/llvm/4/libc++abi.nix
  98. +0 −33 pkgs/development/compilers/llvm/4/lld.nix
  99. +0 −30 pkgs/development/compilers/llvm/4/lldb-libedit.patch
  100. +0 −63 pkgs/development/compilers/llvm/4/lldb.nix
  101. +0 −26 pkgs/development/compilers/llvm/4/llvm-outputs.patch
  102. +0 −194 pkgs/development/compilers/llvm/4/llvm.nix
  103. +0 −26 pkgs/development/compilers/llvm/4/openmp.nix
  104. +0 −368 pkgs/development/compilers/llvm/4/sanitizers-nongnu.patch
  105. +0 −33 pkgs/development/compilers/llvm/dynamiclibrary-musl.patch
  106. +0 −13 pkgs/development/compilers/llvm/fix-llvm-config.patch
  107. +0 −54 pkgs/development/compilers/llvm/libcxx-max_align_t.patch
  108. +5 −5 pkgs/development/compilers/mozart/default.nix
  109. +2 −2 pkgs/development/compilers/sbcl/default.nix
  110. +1 −1 pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
  111. +0 −14 pkgs/development/haskell-modules/configuration-nix.nix
  112. +1 −0 pkgs/development/interpreters/pure/default.nix
  113. +0 −29 pkgs/development/libraries/gdal/001.3_0_1.darwin.patch
  114. +2 −12 pkgs/development/libraries/gdal/default.nix
  115. +31 −0 pkgs/development/libraries/libtgvoip/default.nix
  116. +16 −4 pkgs/development/libraries/physics/yoda/default.nix
  117. +39 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/fare-quasiquote-extras.nix
  118. +34 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/fare-quasiquote-optima.nix
  119. +33 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/fare-quasiquote-readtable.nix
  120. +29 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/fare-quasiquote.nix
  121. +26 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/fare-utils.nix
  122. +25 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/global-vars.nix
  123. +26 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/parse-declarations-1_dot_0.nix
  124. +61 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/serapeum.nix
  125. +44 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivia_dot_quasiquote.nix
  126. +29 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivial-file-size.nix
  127. +26 −0 pkgs/development/lisp-modules/quicklisp-to-nix-output/trivial-macroexpand-all.nix
  128. +12 −0 pkgs/development/lisp-modules/quicklisp-to-nix-overrides.nix
  129. +1 −0 pkgs/development/lisp-modules/quicklisp-to-nix-systems.txt
  130. +150 −0 pkgs/development/lisp-modules/quicklisp-to-nix.nix
  131. +0 −1 pkgs/development/python-modules/blivet/default.nix
  132. +29 −9 pkgs/development/python-modules/glances/default.nix
  133. +1 −1 pkgs/development/python-modules/mailmanclient/default.nix
  134. +4 −4 pkgs/development/python-modules/nest-asyncio/default.nix
  135. +14 −9 pkgs/development/python-modules/pyenchant/default.nix
  136. +7 −6 pkgs/development/python-modules/sympy/default.nix
  137. +2 −0 pkgs/development/tools/build-managers/rebar3/default.nix
  138. +2 −2 pkgs/development/tools/continuous-integration/jenkins/default.nix
  139. +5 −5 pkgs/development/tools/misc/arcanist/default.nix
  140. +2 −2 pkgs/development/tools/misc/yodl/default.nix
  141. +2 −2 pkgs/development/tools/ocaml/ocamlformat/default.nix
  142. +4 −4 pkgs/development/tools/skaffold/default.nix
  143. +3 −3 pkgs/development/tools/wiggle/default.nix
  144. +38 −15 pkgs/games/mindustry/default.nix
  145. +4 −3 pkgs/games/minetest/default.nix
  146. +2 −2 pkgs/games/scummvm/default.nix
  147. +2 −2 pkgs/games/ue4/default.nix
  148. +5 −0 pkgs/misc/emulators/wine/base.nix
  149. +24 −0 pkgs/misc/emulators/wine/cert-path.patch
  150. +4 −4 pkgs/misc/lightspark/default.nix
  151. +4 −0 pkgs/os-specific/linux/bpftool/default.nix
  152. +3 −3 pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
  153. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  154. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  155. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  156. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  157. +2 −2 pkgs/os-specific/linux/kernel/linux-5.4.nix
  158. +5 −1 pkgs/os-specific/linux/kernel/perf.nix
  159. +2 −2 pkgs/os-specific/linux/wireguard/default.nix
  160. +3 −6 pkgs/servers/mail/mailman/default.nix
  161. +1 −1 pkgs/servers/mail/mailman/hyperkitty.nix
  162. +0 −512 pkgs/servers/mail/mailman/settings.py
  163. +0 −34 pkgs/servers/mail/mailman/urls.py
  164. +31 −30 pkgs/servers/mail/mailman/web.nix
  165. +20 −0 pkgs/servers/mail/mailman/wrapped.nix
  166. +0 −17 pkgs/servers/mail/mailman/wsgi.py
  167. +4 −4 pkgs/servers/monitoring/zabbix/versions.nix
  168. +21 −0 pkgs/servers/nosql/victoriametrics/default.nix
  169. +4 −0 pkgs/servers/sip/freeswitch/default.nix
  170. +2 −2 pkgs/servers/squid/default.nix
  171. +2 −2 pkgs/servers/uftp/default.nix
  172. +3 −3 pkgs/shells/zsh/oh-my-zsh/default.nix
  173. +1 −1 pkgs/stdenv/darwin/default.nix
  174. +0 −4 pkgs/test/default.nix
  175. +2 −2 pkgs/tools/backup/rdedup/default.nix
  176. +2 −2 pkgs/tools/misc/you-get/default.nix
  177. +2 −2 pkgs/tools/networking/whois/default.nix
  178. +0 −58 pkgs/tools/security/bitwarden_rs/cargo-lock-lettre.patch
  179. +25 −13 pkgs/tools/security/bitwarden_rs/default.nix
  180. +2 −2 pkgs/tools/security/bitwarden_rs/vault.nix
  181. +11 −3 pkgs/tools/security/chrome-token-signing/default.nix
  182. +3 −3 pkgs/tools/security/fail2ban/default.nix
  183. +2 −2 pkgs/tools/system/jump/default.nix
  184. +1 −0 pkgs/tools/typesetting/tex/nix/run-latex.sh
  185. +17 −0 pkgs/top-level/aliases.nix
  186. +26 −35 pkgs/top-level/all-packages.nix
  187. +5 −1 pkgs/top-level/python-packages.nix
  188. +0 −10 pkgs/top-level/release.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3028,6 +3028,12 @@
githubId = 4401220;
name = "Michael Eden";
};
ilya-fedin = {
email = "fedin-ilja2010@ya.ru";
github = "ilya-fedin";
githubId = 17829319;
name = "Ilya Fedin";
};
ilya-kolpakov = {
email = "ilya.kolpakov@gmail.com";
github = "ilya-kolpakov";
51 changes: 50 additions & 1 deletion nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
<listitem>
<para>
The <literal>dynamicHosts</literal> option has been removed from the
<link linkend="opt-networking.networkmanager.enable">networkd</link>
<link linkend="opt-networking.networkmanager.enable">NetworkManager</link>
module. Allowing (multiple) regular users to override host entries
affecting the whole system opens up a huge attack vector.
There seem to be very rare cases where this might be useful.
@@ -490,6 +490,55 @@ auth required pam_succeed_if.so uid >= 1000 quiet
All other display managers in NixOS are configured like this.
</para>
</listitem>
<listitem>
<para>
There have been lots of improvements to the Mailman module. As
a result,
</para>
<itemizedlist>
<listitem>
<para>
The <option>services.mailman.hyperkittyBaseUrl</option>
option has been renamed to <xref
linkend="opt-services.mailman.hyperkitty.baseUrl"/>.
</para>
</listitem>
<listitem>
<para>
The <option>services.mailman.hyperkittyApiKey</option>
option has been removed. This is because having an option
for the Hyperkitty API key meant that the API key would be
stored in the world-readable Nix store, which was a
security vulnerability. A new Hyperkitty API key will be
generated the first time the new Hyperkitty service is run,
and it will then be persisted outside of the Nix store. To
continue using Hyperkitty, you must set <xref
linkend="opt-services.mailman.hyperkitty.enable"/> to
<literal>true</literal>.
</para>
</listitem>
<listitem>
<para>
Additionally, some Postfix configuration must now be set
manually instead of automatically by the Mailman module:
<programlisting>
<xref linkend="opt-services.postfix.relayDomains"/> = [ "hash:/var/lib/mailman/data/postfix_domains" ];
<xref linkend="opt-services.postfix.config"/>.transport_maps = [ "hash:/var/lib/mailman/data/postfix_lmtp" ];
<xref linkend="opt-services.postfix.config"/>.local_recipient_maps = [ "hash:/var/lib/mailman/data/postfix_lmtp" ];
</programlisting>
This is because some users may want to include other values
in these lists as well, and this was not possible if they
were set automatically by the Mailman module. It would not
have been possible to just concatenate values from multiple
modules each setting the values they needed, because the
order of elements in the list is significant.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>The LLVM versions 3.5, 3.9 and 4 (including the corresponding CLang versions) have been dropped.</para>
</listitem>
</itemizedlist>
</section>

2 changes: 2 additions & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -281,6 +281,7 @@
./services/databases/riak.nix
./services/databases/riak-cs.nix
./services/databases/stanchion.nix
./services/databases/victoriametrics.nix
./services/databases/virtuoso.nix
./services/desktops/accountsservice.nix
./services/desktops/bamf.nix
@@ -427,6 +428,7 @@
./services/misc/exhibitor.nix
./services/misc/felix.nix
./services/misc/folding-at-home.nix
./services/misc/freeswitch.nix
./services/misc/fstrim.nix
./services/misc/gammu-smsd.nix
./services/misc/geoip-updater.nix
70 changes: 70 additions & 0 deletions nixos/modules/services/databases/victoriametrics.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{ config, pkgs, lib, ... }:
let cfg = config.services.victoriametrics; in
{
options.services.victoriametrics = with lib; {
enable = mkEnableOption "victoriametrics";
package = mkOption {
type = types.package;
default = pkgs.victoriametrics;
defaultText = "pkgs.victoriametrics";
description = ''
The VictoriaMetrics distribution to use.
'';
};
listenAddress = mkOption {
default = ":8428";
type = types.str;
description = ''
The listen address for the http interface.
'';
};
retentionPeriod = mkOption {
type = types.int;
default = 1;
description = ''
Retention period in months.
'';
};
extraOptions = mkOption {
type = types.listOf types.str;
default = [];
description = ''
Extra options to pass to VictoriaMetrics. See the README: <link
xlink:href="https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/README.md" />
or <command>victoriametrics -help</command> for more
information.
'';
};
};
config = lib.mkIf cfg.enable {
systemd.services.victoriametrics = {
description = "VictoriaMetrics time series database";
after = [ "network.target" ];
serviceConfig = {
Restart = "on-failure";
RestartSec = 1;
StartLimitBurst = 5;
StateDirectory = "victoriametrics";
DynamicUser = true;
ExecStart = ''
${cfg.package}/bin/victoria-metrics \
-storageDataPath=/var/lib/victoriametrics \
-httpListenAddr ${cfg.listenAddress}
-retentionPeriod ${toString cfg.retentionPeriod}
${lib.escapeShellArgs cfg.extraOptions}
'';
};
wantedBy = [ "multi-user.target" ];

postStart =
let
bindAddr = (lib.optionalString (lib.hasPrefix ":" cfg.listenAddress) "127.0.0.1") + cfg.listenAddress;
in
lib.mkBefore ''
until ${lib.getBin pkgs.curl}/bin/curl -s -o /dev/null http://${bindAddr}/ping; do
sleep 1;
done
'';
};
};
}
Loading