Commit graph

27884 commits

Author SHA1 Message Date
Robert Hensing 47dd5d15c1
Merge pull request #179351 from hercules-ci/option-docs-improvements
Option docs improvements
2022-06-27 22:51:22 +02:00
Pascal Bach 13df7151e1
Merge pull request #178783 from greizgh/fix-syncthing-doc
nixos/syncthing: fix services.syncthing.folders description
2022-06-27 22:37:56 +02:00
Robert Hensing 7c81905344 nixos/make-options-doc: Support Nix-provided declaration locations
Feature was introduced in https://github.com/NixOS/nixpkgs/pull/174460,
but wasn't supported in `mergeJSON.py` yet.
2022-06-27 22:07:20 +02:00
Martin Weinelt 9525331e5a
Merge pull request #179322 from mweinelt/mozilla 2022-06-27 20:52:02 +02:00
Robert Hensing 8bff3fef40 nixos/make-options-doc: Support block quotes
Our tooling would trip without the inner <para>, despite the docbook
docs suggesting that <para> occurs in <blockquote> and vice versa.
2022-06-27 17:41:32 +02:00
Robert Hensing e04aa1bcd9 nixos/make-options-doc: Escape inline code and code blocks 2022-06-27 17:41:32 +02:00
Robert Hensing f900ed1749 nixos/make-options-doc: Support newline md node
This occurs in the ast generated for blockquotes.
2022-06-27 17:41:32 +02:00
Robert Hensing bccc3e747b nixos/make-options-doc: Fix exception handler for arity /= 1 methods 2022-06-27 17:41:32 +02:00
Robert Hensing aff2dbbc82 make-options-doc: Make variablelist id configurable
I've tried XInclude set-xml-id first, but our tooling did not pick up on it.
2022-06-27 17:41:32 +02:00
Robert Hensing 49237015d6 nixos/doc: Make nixos-manual-combined fail easy to inspect
By writing the unchecked outputs before checking them, they will
be written to a store path, which appears in the log, and which
sticks around even if the build fails. Eventually it is GCed, but
until then, you can open the file.

If you run it in a terminal+editor combination like VSCode, the
failure location is just one Ctrl+click away.
2022-06-27 17:41:32 +02:00
Kim Lindberger 8b404a1617
Merge pull request #177783 from talyz/parsedmarc-secrets
parsedmarc, geoipupdate: Improve secrets handling and more
2022-06-27 15:26:10 +02:00
Profpatsch 0e444785a1 installer/tools/get-version-suffix: set --git-dir
The `nixos-rebuild` tool calls `get-version-suffix` to figure out the
git revision of the nixpkgs directory if there is a .git.

https://nvd.nist.gov/vuln/detail/CVE-2022-24765 made git throw an
error if the .git search logic is not turned off and a user
tries to access a `.git` directory they don’t own (otherwise a
different user could trick them into setting arbitrary git config).

So from now on we should always explicitely set `--git-dir`, which
turns this search logic (and thus the security check) off.
2022-06-27 14:28:03 +02:00
Martin Weinelt 1832364599
firefox-esr-102-unwrapped: init at 102.0esr
https://www.mozilla.org/en-US/firefox/102.0/releasenotes/
2022-06-27 14:20:47 +02:00
Maximilian Bosch ec5b885d95
Merge pull request #179236 from winterqt/nextcloud-improvements
nixos/nextcloud: some small improvements
2022-06-27 13:42:44 +02:00
Florian Klink f72ea3ceea
Merge pull request #179235 from alyssais/virtualbox-test
nixosTests.virtualbox: fix
2022-06-27 14:53:25 +07:00
Alyssa Ross a2b3b2a1b6
nixosTests.virtualbox: fix on AMD 2022-06-27 07:49:25 +00:00
Florian Klink 4c6b6482f9
Merge pull request #178841 from Madouura/dev/zfs
release-notes: move zfs update from 22.11 to 22.05
2022-06-27 10:12:02 +07:00
Alexandre Macabies 32964dd23d pykms: switch to maintained fork, fix PYTHONPATH, add test
I have read the full diff[0] between the previous owner and the new
maintained fork that I'm switching to, and could not find any suspicious
code. The new fork includes fixes that are otherwise crashing as of
Python 3.10.

This commit also fixes the PYTHONPATH which prevents the client from
starting.

This commit also adds a test that the client can successfully query the
server, testing the two components at once.

[0] https://github.com/SystemRage/py-kms/compare/master...Py-KMS-Organization:master
2022-06-27 09:14:57 +08:00
Sandro 2cf13724e1
Merge pull request #168141 from mausch/radarr 2022-06-27 01:06:15 +02:00
Kevin Cox 3f13b3fb7e
Merge pull request #179194 from gravndal/supportedLocales
nixos/i18n: include locales from extraLocaleSettings in supportedLocales
2022-06-26 18:03:55 -04:00
Gaute Ravndal d534fa7085 nixos/i18n: include locales from extraLocaleSettings in supportedLocales 2022-06-27 00:02:04 +02:00
Aaron Andersen e3e82b92e8
Merge pull request #177106 from martinetd/logrotate
logrotate: do not add mail if 'mail = false' is specified
2022-06-26 23:39:38 +02:00
Aaron Andersen bf5781e639
Merge pull request #151642 from antifuchs/fix-151550
navidrome: Allow read access to /etc
2022-06-26 23:32:18 +02:00
Aaron Andersen 28562b800e
Merge pull request #178154 from aanderse/nixos/prosody
nixos/prosody: conditionally provision required directories with StateDirectory
2022-06-26 22:45:18 +02:00
Winter d6f59779c6 nixos/nextcloud: remove extraneous nginx config directive 2022-06-26 14:30:59 -04:00
Winter e54ddddd2a nixos/nextcloud: make all services run after nextcloud-setup 2022-06-26 14:29:59 -04:00
Winter 6be3ce36b6 nixos/nextcloud: use mkOption.default for datadir 2022-06-26 14:27:03 -04:00
Alyssa Ross 253fa03ea9
nixosTests.virtualbox.net-hostonlyif: use dhcpcd
dhclient is no longer built by default in the dhcp package, so this
test has been broken since that change was made.  To fix, switch to
dhcpcd.  dhcpcd insists on writing into /var/run, so we need to ensure
that exists.

Fixes: a2c379d4b6 ("dhcp: make client and relay component optional")
2022-06-26 18:12:13 +00:00
Alyssa Ross 34ec11729e
nixosTests.virtualbox: fix for blocking stdout
Fixes: 1640359f33 ("nixos/test-runner: Fix execute() flakiness")
2022-06-26 18:12:12 +00:00
Alyssa Ross e2617706ed
nixosTests.virtualbox: fix logging service
This used to be StandardOutput=syslog, which was removed because
syslog is deprecated, but that caused the test to fail.  So bring it
back, but set it to the non-deprecated "journal" value instead (which
is what systemd interprets "syslog" as now anyway).

Fixes: 962e15aebc ("nixos: remove StandardOutput=syslog, StandardError=syslog lines")
2022-06-26 18:12:11 +00:00
Alyssa Ross 17b0079436
nixosTests.virtualbox: create shared dir before VM
Otherwise, since the update to Virtualbox 6.1.22, the test would fail
due to the shared directory not existing.

Fixes: ba0da8a076 ("virtualbox: 6.1.18 -> 6.1.22")
2022-06-26 18:12:09 +00:00
Alyssa Ross ecaa6f5c60
nixosTests.virtualbox.host-usb-permissions: import sys
Otherwise, sys.stderr is not defined.

Fixes: db614e11d6 ("nixos/tests/test-driver: better control test env symbols")
2022-06-26 18:12:08 +00:00
Alyssa Ross 6ce4afce63
nixosTests.virtualbox: always use nested KVM
Nested KVM has been enabled by default on Linux on Intel for a long
time now, and since Virtualbox 6.1.0, the test won't run without it
because Virtualbox now only supports running hardware-accelerated VMs.

Additionally, this means we can 64-bit guests by default.  The 32-bit
guest additions don't currently build, so this is important to have
the tests work with the default options.
2022-06-26 18:12:07 +00:00
Erik Arvstedt 1a32663efc
treewide: rename maintainer earvstedt -> erikarvstedt
The maintainer name now matches the Github username, which simplifies
maintainer notifications.
2022-06-26 19:12:18 +02:00
Lassulus ea532fe833
Merge pull request #179168 from yayayayaka/revert-177536-hedgedoc-fix-statedirectory 2022-06-26 19:05:04 +02:00
José Romildo Malaquias c7c3c6586c
Merge pull request #179108 from romildo/fix.thunar
nixos/thunar: init
2022-06-26 13:22:15 -03:00
José Romildo bb5ec4625a nixos/thunar: init
- Add a module for the thunar file manager, which depends on the xfconf dbus service, and also has a dbus service and a systemd unit.

- Renames the option services.xserver.desktopManager.xfce.thunarPlugins to programs.thunar.plugins.
2022-06-26 12:22:07 -03:00
Matthias Thym 48ee6e1663 Merge branch 'master' into update/bsp-layout-unstable-2022-06-19 2022-06-26 14:06:53 +02:00
Thiago Kenji Okada 659096dd89 nixos/fontconfig: add fonts.fontconfig.hinting.style option 2022-06-26 12:19:04 +01:00
Yaya 57617daaff
Revert "nixos/hedgedoc: Do not set StateDirectory to an absolute path" 2022-06-26 12:06:36 +02:00
Bernardo Meurer 83801da137
Merge pull request #176979 from winterqt/nginx-per-location-recommended-proxy-settings
nixos/nginx: allow recommended proxy settings to be enabled per location
2022-06-25 23:48:29 -07:00
Maximilian Bosch cb009ecbc7
Merge pull request #178842 from Ma27/vrf-test-json
nixos/systemd-networkd-vrf: check routing tables via `ip --json`
2022-06-26 00:25:08 +02:00
piegames aa3641fa90
Merge pull request #178838 from mweinelt/matrix-appservice-irc
nixos/matrix-appservice-irc: wait for postgres to start
2022-06-25 23:09:36 +02:00
Thomas Depierre fc658c86f7 riak, nixos/riak: remove
Riak have been updated a lot since the version 2.2 (now 3.0.10) but
has seen no updated to the package. This is at this point
a problem forcing us to maintain old versions of erlang.

We would be happy to re accept a newer version of Riak if someone want
to spend the time to set it up.
2022-06-25 15:51:18 -04:00
Kim Lindberger 5710bac2b4
nixos/gitlab: Use Git 2.35.x to work around git bug (#177776)
Git 2.36.1 seemingly contains a commit-graph related bug which is
easily triggered through GitLab, so let's downgrade it to 2.35.x until
this issue is solved. See
https://gitlab.com/gitlab-org/gitlab/-/issues/360783#note_992870101.
2022-06-25 21:22:53 +02:00
Thiago Kenji Okada 66e8dceabc
Merge pull request #167907 from Misterio77/argonone-module
nixos/argonone: init
2022-06-25 10:48:22 +01:00
K900 9ce75f675e nixos/doc: regenerate
Fixes whatever happened there.
2022-06-25 11:58:44 +03:00
Robert Hensing 1d43ea01da
Merge pull request #178958 from hercules-ci/fix-installer-tests
nixos/nixpkgs.nix: Ignore the default system in check
2022-06-25 10:48:29 +02:00
Robert Hensing 985b6812d6 nixos/nixpkgs.nix: Ignore the default system in check
We might want to make this more strict at some point.
2022-06-25 10:40:41 +02:00
Vladimír Čunát 24b43564ff
Merge #177318: nixos/i18n: reduce default supportedLocales 2022-06-25 10:29:27 +02:00