3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

29480 commits

Author SHA1 Message Date
pennae f97c9d60e4 nixos/firefox-syncserver: proxyPass singleNode to 127.0.0.1
syncstorage-rs does not listen on ::1 unless explicitly configured.
2022-10-06 14:48:53 +02:00
pennae 8dc30e9e98 nixos/firefox-syncserver: set default for oauth verifier threads
the 0.12.1 update introduced a static thread pool for verifying oauth
tokens. set a reasonable default for self-hosted setups (10 threads).
2022-10-06 14:48:53 +02:00
github-actions[bot] 8d6fbd7341
Merge master into staging-next 2022-10-06 12:01:31 +00:00
Maximilian Bosch 15914eba85
nixos/privacyidea: fix manual build 2022-10-06 13:50:31 +02:00
Maximilian Bosch ecaf6aed02
nixos/privacyidea: add proper support for privacyidea-token-janitor
`privacyidea-token-janitor`[1] is a tool which helps to automate
maintenance of tokens. This is helpful to identify e.g. orphaned tokens,
i.e. tokens of users that were removed or tokens that were unused for a
longer period of time and apply actions to them (e.g. `disable` or
`delete`).

This patch adds two new things:

* A wrapper for `privacyidea-token-janitor` to make sure it's executable
  from CLI. To achieve this, it does a `sudo(8)` into the
  `privacyidea`-user and sets up the environment to make sure the
  configuration file can be found. With that, administrators can
  directly invoke it from the CLI without additional steps.

* An optional service is added which performs automatic cleanups of
  orphaned and/or unassigned tokens. Yes, the tool can do way more
  stuff, but I figured it's reasonable to have an automatic way to clean
  up tokens of users who were removed from the PI instance. Additional
  automation steps should probably be implemented in additional
  services (and are perhaps too custom to add them to this module).

[1] https://privacyidea.readthedocs.io/en/v3.7/workflows_and_tools/tools/index.html
2022-10-06 11:43:20 +02:00
Jörg Thalheim 988c9130e1
Merge pull request #193767 from winterqt/update-dendrite
dendrite: 0.9.9 -> 0.10.1
2022-10-06 09:28:32 +02:00
github-actions[bot] 863df54d13
Merge master into staging-next 2022-10-06 06:05:17 +00:00
oxalica 9fca212c84 nixos/tests/systemd-oomd: fix and follows upstream tests
The current test triggers the kernel OOM killer and doesn't work well.
2022-10-06 09:48:13 +08:00
Stanisław Pitucha 4a6979d310
Merge pull request #194603 from phiadaarr/jitsiVideobridge
jitsi-videobridge: fix link in docs
2022-10-06 12:19:43 +11:00
06kellyjac becacf259d teleport: 9.1.2 -> 10.3.1
Dropped the roletester since it doesn't exist anymore

Co-authored-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-10-05 13:52:20 -07:00
github-actions[bot] 939050602c
Merge master into staging-next 2022-10-05 18:07:32 +00:00
José Luis Lafuente 396f4f05b9
nixos/tmate-ssh-server: init module (#192270)
* nixos/tmate-ssh-server: init module

Co-authored-by: Aaron Andersen <aaron@fosslib.net>
2022-10-05 17:34:30 +01:00
Philipp Arras 1e430612dc jitsi-videobridge: fix link in docs 2022-10-05 18:11:57 +02:00
github-actions[bot] ebb7cf0268
Merge master into staging-next 2022-10-05 12:01:40 +00:00
Florian Klink c1c406bc87
Merge pull request #191491 from oxalica/fix/systemd-initrd-modprobe
nixos/systemd-stage-1: include modprobe confg in initrd
2022-10-05 10:39:58 +02:00
Thiago Kenji Okada d10f9fdccd
Merge pull request #193939 from thiagokokada/bump-retroarch
retroarch: 1.10.3 -> 1.11.0;  libretro: unstable-2022-04-21 -> unstable-2022-10-01
2022-10-05 09:00:37 +01:00
Milan Hauth a1e9f1e036 nixos/firewall: move rpfilter from raw to mangle
fix wireguard (wg-quick)

netfilter packet flow:
raw.prerouting -> conntrack -> mangle.prerouting

rpfilter must be after conntrack
otherwise response packets are dropped
2022-10-05 09:50:56 +02:00
oxalica 3c92009868 nixos/tests/systemd-initrd-modprobe: init 2022-10-05 08:37:51 +08:00
Martin Weinelt 253ca4957d Merge remote-tracking branch 'origin/master' into staging-next 2022-10-05 00:44:16 +02:00
Robert Hensing 70ec3b9f54
Merge pull request #193498 from hercules-ci/nixos-doc-disambiguate-test-options
nixos/doc: disambiguate test option ids
2022-10-04 21:35:49 +01:00
superherointj 2e19f2fa53 maintainers: remove superherointj 2022-10-04 14:06:48 -03:00
superherointj ef157b4b4c
Merge pull request #193376 from superherointj/package-k3s-1.25.2+k3s1
k3s: 1.25.0+k3s1 -> 1.25.2+k3s1
2022-10-04 13:11:41 -03:00
Adam Joseph c46bdcbaf2 nixos/lib/qemu-common.nix: set qemuSerialDevice for isMips64 2022-10-04 07:48:12 +00:00
Jan Tojnar e14d1e1bc9
Merge pull request #192969 from jtojnar/extra-gsettings-strict
GNOME/Cinnamon/Pantheon: Clean up GSettings overrides and make strict
2022-10-04 00:59:08 +02:00
Christian Kögler fd323dfe49
Merge pull request #194159 from foo-dogsquared/update-systemd-extraconfig-module-doc
nixos/systemd: update extraConfig description
2022-10-03 21:56:25 +02:00
Sandro b70049a463
Merge pull request #183349 from Luflosi/rename-ipfs-to-kubo 2022-10-03 21:34:14 +02:00
David Morgan bd62717fd3
libinput: Add tappingButtonMap option (#189612)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-10-03 21:13:43 +02:00
Sandro 1385382014
Merge pull request #191532 from ambroisie/add-tandoor-recipes 2022-10-03 20:25:06 +02:00
Bruno BELANYI 91ba8464f4 nixos/tandoor-recipes: add test 2022-10-03 09:48:54 +02:00
Bruno BELANYI d8b1d34806 nixos/tandoor-recipes: init module 2022-10-03 09:48:54 +02:00
Gabriel Arazas 292aab9822 nixos/systemd: update extraConfig description 2022-10-03 11:17:41 +08:00
github-actions[bot] 0ae3aa5345
Merge master into staging-next 2022-10-02 17:45:43 +00:00
Graham Christensen 25acc1d800
Merge pull request #190014 from fgaz/vengi-tools/0.0.21
vengi-tools: 0.0.20 -> 0.0.21
2022-10-02 13:04:45 -04:00
superherointj 3d200bd959 nixos/tests/k3s: fix tests
* add superherointj as maintainer
2022-10-02 13:01:47 -03:00
piegames ec5f7d48ab
Merge pull request #194058: Disable checkMeta by default again 2022-10-02 18:00:48 +02:00
Jörg Thalheim ffde4721ab
Merge pull request #194052 from rapenne-s/fail2ban_doc
nixos/fail2ban: improve module documentation
2022-10-02 17:09:43 +02:00
Luflosi eefaaf41d6
kubo: rename from ipfs
Go-IPFS was renamed to Kubo in version 0.14.0, see https://github.com/ipfs/kubo/issues/8959.
2022-10-02 16:00:22 +02:00
Profpatsch 1600cba863 Disable checkMeta by default again.
This caused too many downstream projects to break, so we are reverting
this change for now, until further transition fixes are in place.

See discussion in https://github.com/NixOS/nixpkgs/pull/191171

This reverts part of 6762de9a28
2022-10-02 14:28:40 +02:00
github-actions[bot] fc393d5731
Merge master into staging-next 2022-10-02 12:01:22 +00:00
Solene Rapenne 605a588ea6 nixos/fail2ban: improve module documentation 2022-10-02 12:59:54 +02:00
06kellyjac 1a90756aa7 tracee: 0.7.0 -> 0.8.3
Also simplified the package since after #176152 the tracee build process can
now pass in a -target of bpf without weird overrides
2022-10-02 11:45:08 +01:00
Christian Kögler 6845ddc94b
Merge pull request #192864 from alyaeanyx/nix-serve-package-option
nixos/nix-serve: add package option
2022-10-02 11:39:28 +02:00
github-actions[bot] e879e7d54e
Merge master into staging-next 2022-10-02 00:04:43 +00:00
Sandro f01f3c83d2
Merge pull request #192615 from gador/pgadmin-6.14 2022-10-01 23:53:36 +02:00
figsoda a1d50eecab
Merge pull request #193132 from figsoda/clean-up
treewide: clean up
2022-10-01 17:03:11 -04:00
Florian Brandes 2cf3003858 pgadmin4: 6.13 -> 6.14
include fix for flask-security-too update

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-10-01 21:56:03 +02:00
Maximilian Bosch 3df3bbdc50
nixos/nixos-build-vms: fix eval
Within #193485 (and the previous changes) the internal structure of the
testing driver was changed. Since then, `makeTest` returns the
attributes for the VM test(s) (including `driverInteractive`) inside a
sub-attribute called `test`, so without this change running
`nixos-build-vms` would fail like this:

    error: attribute 'driverInteractive' missing
2022-10-01 20:34:01 +02:00
Robert Hensing 534e5629af nixos/tests/make-test-python.nix: Restore stand-alone invocation
It's an ugly solution (like before), but some of us want to

    nix-build nixos/tests/foo.nix

This PR makes that possible once more for tests are wired with `make-test-python.nix`.
2022-10-01 16:43:42 +02:00
Maximilian Bosch d41b381310
nixos/release-notes: document fetchNextcloudApp changes 2022-10-01 16:33:32 +02:00
Thiago Kenji Okada 0eadc3bbf2 maintainers: add libretro team, use it in retroarch/libretro 2022-10-01 14:31:39 +01:00
Thiago Kenji Okada bbcaaeb97d retroarch: add nixosTests.retroarch as passthru.tests 2022-10-01 13:27:32 +01:00
github-actions[bot] 25043f0f28
Merge master into staging-next 2022-10-01 12:01:27 +00:00
Kira Bruneau f185f71ed8
Merge pull request #192154 from kira-bruneau/linuxPackages.xpadneo
linuxPackages.xpadneo: 0.9.4 -> 0.9.5
2022-10-01 07:39:12 -04:00
Christian Kögler 1c23b486f2
Merge pull request #189275 from wentasah/nullmailer-ownership
nixos/nullmailer: Always adjust ownership of spool directories
2022-10-01 12:51:57 +02:00
Christian Kögler a68239097e
Merge pull request #189113 from MatthewCroughan/mc/pin-installer-registry
pin nixpkgs registry to pkgs.path via nix.settings.registry
2022-10-01 12:49:28 +02:00
Christian Kögler 95de459778
Merge pull request #191963 from pbsds/code-remote-module
nixos/code-server: escape shell extraArguments
2022-10-01 10:15:32 +02:00
Christian Kögler e6ffa3dfc9
Merge pull request #191854 from farnoy/patch-1
nixos/rust-motd: fix systemd service checks
2022-10-01 10:09:59 +02:00
Christian Kögler 95ca550fa3
Merge pull request #191902 from ck3d/fix-machinectl-system
nixos/test: fix system for container in systemd-machinectl
2022-10-01 10:00:04 +02:00
Christian Kögler d3fc91e579
Merge pull request #191352 from maifel-maifel/mr-networking-deprecation-note
nixos/networking: add a suggestion to use networkd options
2022-10-01 09:10:30 +02:00
Eric Bailey 5a35c971bf kops: 1.24.3 -> 1.25.1
- Drop kops_1_22
- kops_1_23: 1.23.2 -> 1.23.4
- Update 22.11 release notes
2022-09-30 21:14:58 -05:00
Winter 7414171dd1 dendrite: 0.9.9 -> 0.10.1 2022-09-30 16:56:57 -04:00
github-actions[bot] e1d2f74dee
Merge master into staging-next 2022-09-30 18:03:29 +00:00
Martin Weinelt 656e267275
Merge pull request #193565 from NixOS/home-assistant 2022-09-30 18:00:37 +02:00
Jonas Heinrich b881869205 nixos/wordpress: Add language support 2022-10-01 00:44:32 +09:00
Martin Weinelt 4978672881
nixos/home-assistant: update bluetooth and serial component list
And fix the capability logic for bluetooth devices.
2022-09-30 15:07:17 +02:00
cab e03e61f62e
nixos.fwupd: add remote list option
Co-authored-by: jtojnar <jtojnar@gmail.com>
2022-09-30 16:47:16 +04:00
Sandro c1487a18d1
Merge pull request #186990 from fgaz/ladybird/2022-08-14 2022-09-30 14:46:51 +02:00
github-actions[bot] f29cec4450
Merge master into staging-next 2022-09-30 06:22:32 +00:00
Martin Weinelt b76d66b4fd nixos/sachet: replace literalExample with literalExpression 2022-09-29 21:13:50 -04:00
github-actions[bot] 7170a03e58
Merge master into staging-next 2022-09-30 00:07:38 +00:00
Sandro 00b86b69f0
Merge pull request #193009 from SuperSandro2000/nix-daemon-localhost 2022-09-29 23:38:05 +02:00
github-actions[bot] 9d19287993
Merge master into staging-next 2022-09-29 18:03:40 +00:00
Linus Heckemann 3f7fa3fe68
Merge pull request #193404 from evrim/master
nix-daemon module: fix mandatoryFeatures in nix.buildMachines
2022-09-29 15:48:05 +02:00
github-actions[bot] 9c14978f84
Merge master into staging-next 2022-09-29 12:01:25 +00:00
Robert Hensing 216c5dc10d nixos/doc: Disambiguate test option ids
Changing this later on would break external links into the manual.
2022-09-29 12:41:59 +02:00
Robert Hensing 91879ce160 make-options-doc: Make optionIdPrefix configurable ("opt-") 2022-09-29 12:34:06 +02:00
Robert Hensing b463233ff4 nixos/iso-image: Refactor: apply / unshadow 2022-09-29 12:22:51 +02:00
Robert Hensing f34135a73b nixos/iso-image: Fix eval 2022-09-29 12:19:06 +02:00
K900 f54f12a602
Merge pull request #193485 from hercules-ci/nixos-lib-runTest-return-test
nixos/testing: Fix release.nix tests evaluation
2022-09-29 12:54:30 +03:00
Robert Hensing aed1deab05 nixos/testing: Fix release.nix tests evaluation
Fixes the problem introduced by 12b3066aae
which caused nixos/release.nix to return the wrong attributes, while
intending to only affect nixos/lib's runTest.
This also removes callTest from the test options, because callTest is
only ever invoked by all-tests.nix.
2022-09-29 10:49:09 +02:00
Ivan Nikolaenko f251840237 lib/systems/default.nix: add efiArch suffixes
Move already implemented functionality to the upper level so
it could be used in a more generic way.

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2022-09-29 08:02:35 +00:00
Vladimír Čunát 8ba120420f
Merge #191339: staging-next 2022-09-15 2022-09-29 09:16:47 +02:00
Franz Pletz 417b476db7
Merge pull request #187817 from intelfx/nixos-containertarballs-fix-pixz
make-system-tarball: use `pixz -t`
2022-09-29 03:26:20 +02:00
David Houston 28e90d3709
nixos/virtualisation/linode-image: init (#155426) 2022-09-29 00:25:03 +02:00
Sandro f88b09a712
Merge pull request #189176 from maifel-maifel/mr-wireguard-fwmark-mtu 2022-09-29 00:04:33 +02:00
void 6349a7d15b nix-daemon module: fix mandatoryFeatures in nix.buildMachines 2022-09-29 00:35:17 +03:00
Lassulus af364a3655
Merge pull request #190172 from Stunkymonkey/init-freshrss 2022-09-28 23:11:33 +02:00
Felix Buehler 0b204f0c28 freshrss: init at 1.20.0, tests and module 2022-09-28 22:46:15 +02:00
Robert Scott 3785988a46
Merge pull request #191331 from helsinki-systems/init/varnish72
varnish72: init at 7.2.0
2022-09-28 19:59:57 +01:00
github-actions[bot] f18d801779
Merge staging-next into staging 2022-09-28 18:05:53 +00:00
github-actions[bot] d2b7f4ad5f
Merge master into staging-next 2022-09-28 18:05:16 +00:00
Robert Hensing 52392d42c1
Merge pull request #193361 from hercules-ci/nixos-lib-runTest-return-test
lib.nixos.runTest: Return the test itself
2022-09-28 17:56:22 +01:00
Lily Foster 07b207c5e9 nodePackages: patch node2nix for npm v7+ and switch to building package set with current nodejs 2022-09-28 12:41:47 -04:00
Robert Hensing 12b3066aae lib.nixos.runTest: Return the test itself
(NB: the lib in the flake)

Correcting a mistake I made when removing the test matrix code
from https://github.com/NixOS/nixpkgs/pull/191540
2022-09-28 18:34:36 +02:00
Martin Weinelt 7da8d25d87 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-28 17:15:11 +02:00
digital 0c704db698 nixos/docs: update changelog 2022-09-28 17:14:38 +02:00
digital eb49174f7b nixos/wireguard: add option to set mtu
Some networks can only transfer packets with a lower than normal maximum
transfer unit size. In these cases, it is necessary to set a MTU that
works for the given upstream network.
2022-09-28 17:14:38 +02:00
digital 084509af8b nixos/wireguard: add option to set firewall mark
Wireguard can tag its packets with a firewall mark. This can be used for
firewalls or policy routing. This is very useful in some setups where
all traffic should go through a wireguard interface. The wireguard
packets cannot go through the wireguard interface and must be routed
differently, which can be done via the Firewall Mark.

The nixos option `config.networking.wireguard.interface.<name>.fwMark`
is of type `types.str` and not `types.int` to allow for specifying the
mark as a hexadecimal value.
2022-09-28 17:14:38 +02:00
David Warde-Farley a81954b818 Fix docs. 2022-09-28 10:48:10 -04:00
David Warde-Farley c3e75d4931 Use null instead of empty string.
Per @aanderse in 7556fd7.
2022-09-28 10:48:10 -04:00
David Warde-Farley 0d5a365f61 caddy: Omit --adapter from invocations if empty string supplied
This allows specifying configuration in the natively processed Caddy JSON format.

Fixes #153142.
2022-09-28 10:48:10 -04:00
Robert Hensing d1f0a6d972 nixos/systemd/oomd: mdDoc fix 2022-09-28 16:07:42 +02:00
Bernardo Meurer 2e0cca58f0
Merge pull request #169613 from helsinki-systems/feat/systemd-oomd 2022-09-28 09:53:49 -03:00
Robert Hensing 9480b59b45 nixosTests.rabbitmq: Test config decryption (fails) 2022-09-28 13:41:42 +02:00
Robert Hensing 7f0d934f9a
Merge pull request #191540 from hercules-ci/nixosTest-modular
nixosTest: make modular
2022-09-28 10:27:45 +01:00
Alexander Bantyev 3814271800
Merge pull request #188273 from cab404/klipper-mutable-config
klipper: additional config options
2022-09-28 04:12:05 +04:00
github-actions[bot] d6a1c7033e
Merge staging-next into staging 2022-09-28 00:06:37 +00:00
github-actions[bot] 70776ac218
Merge master into staging-next 2022-09-28 00:06:02 +00:00
Artturi 1c1c182814
Merge pull request #192851 from Artturin/treewides1 2022-09-28 00:50:06 +03:00
ajs124 85e999f902 nixos/tests/varnish: init 2022-09-27 21:45:27 +02:00
Jonathan Ringer 3c0d465d9a
nixos/doc/rl-22.11: Add mention of openrgb option being added 2022-09-27 11:59:33 -07:00
Jonathan Ringer a2bcf8564d
nixos/openrgb: init module 2022-09-27 11:59:33 -07:00
github-actions[bot] 8d941befdb
Merge staging-next into staging 2022-09-27 18:04:48 +00:00
github-actions[bot] 3f66160994
Merge master into staging-next 2022-09-27 18:04:13 +00:00
ajs124 aded19fb3b error: 'mysql' has been renamed to/replaced by 'mariadb' 2022-09-27 19:39:52 +02:00
github-actions[bot] a3d9dd7956
Merge staging-next into staging 2022-09-27 12:01:45 +00:00
github-actions[bot] 28a3306bd7
Merge master into staging-next 2022-09-27 12:01:17 +00:00
Sandro 2e977bf954
Merge pull request #188575 from gador/pgadmin-6.13 2022-09-27 10:18:38 +02:00
Vladimír Čunát 85d3dce182
Merge branch 'master' into staging-next 2022-09-27 08:20:58 +02:00
Franz Pletz 1f41992899
Merge pull request #187073 from penglei/master 2022-09-27 05:33:22 +02:00
figsoda dc4b44a2f3 nixos/lib/make-single-disk-zfs-image.nix: remove unused binding 2022-09-26 22:19:06 -04:00
figsoda 84bc9ff334 nixos/lib/make-multi-disk-zfs-image.nix: remove unused binding 2022-09-26 22:18:55 -04:00
MatthewCroughan c40da01e17
Update nixos/modules/installer/cd-dvd/channel.nix
Co-authored-by: Louis Bettens <lourkeur@users.noreply.github.com>
2022-09-26 19:36:13 +01:00
github-actions[bot] 892a84aea0
Merge staging-next into staging 2022-09-26 18:02:33 +00:00
github-actions[bot] 59a37c822b
Merge master into staging-next 2022-09-26 18:01:53 +00:00
aszlig 9a4b82d2af
Merge pull request #191490 (ZFS test eval fix)
This makes sure that we don't try to evaluate the tests with an
incompatible kernel version. The original reviewer didn't react within
10 days, but since they got notified and all this commit is doing is to
fix evaluation, I consider it safe to merge.

Cc: @adisbladis
2022-09-26 17:27:21 +02:00
matthewcroughan 31dbd4cb91 nixos/modules/installer/cd-dvd/channel.nix: pin nixpkgs registry to pkgs.path via nix.settings.registry 2022-09-26 16:23:48 +01:00
Francesco Gazzetta 2c81cda2f6 nixosTests.ladybird: init 2022-09-26 17:04:52 +02:00
Artturin 6910a4eea0 treewide: makeWrapper to nativeBuildInputs
this should be all of them other than the failed splices
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Sandro Jäckel 2970778928
nixos/nix-daemon: allow removing protocol for hydra 2022-09-26 11:50:19 +02:00
Frederik Rietdijk 63e480ba16 Merge staging-next into staging 2022-09-26 09:31:50 +02:00
Frederik Rietdijk de57d754a0 Merge master into staging-next 2022-09-26 09:31:22 +02:00
github-actions[bot] e0bea8e017
Merge staging-next into staging 2022-09-26 00:03:58 +00:00
Jan Tojnar 1d4bddaed5 gnome.nixos-gsettings-override: extract from NixOS module
This will clean up the module slightly and bring it more in line with Pantheon & Cinnamon.
While at it do some other refactoring inspired by those modules:

- Correct a typo in light background attribute name.
- Rename the attribute name.
- Quote arguments.
- Extract the overridden package list and override text into variables.
- Avoid having separate copy commands for overrides from packages.
- Avoid `with` statements.
- Use `concatMapStringsSep`.
2022-09-26 00:52:08 +02:00
Sandro d374d79d89
Merge pull request #190496 from NukaDuka/kthxbye 2022-09-25 23:43:29 +02:00
Martin Weinelt 68c0ca4416 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-25 21:36:31 +02:00
Kartik Gokte 5a93846946 nixos/kthxbye: init 2022-09-26 00:16:03 +05:30
Emery Hemingway dbf8bba95b nixos/yggdrasil: services.yggdrasil.config renamed to settings 2022-09-25 11:10:32 -05:00
Sandro e85617ef84
Merge pull request #192806 from r-ryantm/auto-update/onlyoffice-documentserver 2022-09-25 17:40:08 +02:00
piegames 6762de9a28 check-meta.nix: type checking changes
- Enable metadata checking by default, see https://github.com/NixOS/nixpkgs/pull/25304#issuecomment-298385426
- Check metadata before any other package issues, see https://github.com/NixOS/nixpkgs/issues/191124#issuecomment-1246523976
- Document that type checks only apply to the top level of nested values.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-25 16:37:15 +02:00
Mario Rodas 0ea721a941
Merge pull request #192196 from oxalica/pkg/v2ray
v2ray: 4.45.0 -> 5.1.0 and refactor
2022-09-25 09:20:49 -05:00
alyaeanyx 850053ebe7 nixos/nix-serve: add package option 2022-09-25 11:08:59 +02:00
Fabián Heredia Montiel a233e59d19 nixos/pam: fix deprecated gnome3 reference 2022-09-25 00:39:27 -05:00
Sandro Jäckel 0a564318e8
nixos/onlyoffice: fix database upgrades 2022-09-25 01:35:01 +02:00
zowoq de80fd541f cntr: only run nixosTests on aarch64/x86_64 2022-09-25 07:38:14 +10:00
Robert Hensing 3ce4179374 nixos/doc/writing-nixos-tests: Remove flake info for now 2022-09-24 17:42:53 +01:00
Robert Hensing f40ff7f1f1 nixos/tests/installer: Add make-options-doc dep 2022-09-24 17:42:52 +01:00
Robert Hensing 1c0b9c4a48 nixos/testing/network.nix: Add network config to specialisations 2022-09-24 17:42:52 +01:00
Robert Hensing 7cdc9bc340 nixos/testing: Improve interactive docs 2022-09-24 17:42:52 +01:00
Robert Hensing 6a78b41476 nixos/doc/writing-nixos-tests: Various improvements
Thanks to fricklerhandwerk for the many suggestions, most of which
I have fixupped into preceding commits.
2022-09-24 17:38:11 +01:00
Robert Hensing b2caf7965c nixos/doc/writing-nixos-tests: Clarify working directory
Co-authored-by: christian-burger <christian@krikkel.de>
2022-09-24 17:38:11 +01:00
Robert Hensing 666e969da0 nixos/testing: Add nodes.config backcompat to nodes module argument 2022-09-24 17:38:10 +01:00
Robert Hensing ac03757eb2 nixos/doc: Wire up the test options reference 2022-09-24 17:38:10 +01:00
Robert Hensing 6205d37747 nixos/testing: Improve option docs 2022-09-24 17:38:10 +01:00
Robert Hensing 4ce93fbae8 nixos/testing-python: Add interactive variant support to makeTest 2022-09-24 17:38:10 +01:00
Robert Hensing 618f82406f nixos/tests/installer: Fix docbook dependency 2022-09-24 17:38:10 +01:00
Robert Hensing 52bfa318e8 nixos/testing: Support mypy through regular mechanisms
Rebase / forward port of 2c8bbf33fd
2022-09-24 17:38:10 +01:00
Robert Hensing 9303a3c73b nixos/tests/installed-tests: Fix maintainers 2022-09-24 17:38:10 +01:00
Robert Hensing 583a4f0275 nixos/tests/cri-o: Fix maintainers 2022-09-24 17:38:10 +01:00
Robert Hensing e260018f9c nixos/tests: Add names 2022-09-24 17:38:09 +01:00
Robert Hensing 0af6e6b0e5 nixos/testing/meta.nix: Add options, some optional 2022-09-24 17:38:09 +01:00
Robert Hensing f01fec4099 nixos/testing/network.nix: Fix specialisations onlyShorthand 2022-09-24 17:38:09 +01:00
Robert Hensing e77913a680 nixos/all-tests.nix: Invoke tests based on make-test-python.nix 2022-09-24 17:38:09 +01:00
Robert Hensing 9886db059a nixos/testing: Embrace callTest
My conception of its input was wrong. It is quite a useful construct,
even if its name is a bit weird.
2022-09-24 17:38:09 +01:00
Robert Hensing 5297d584bc nixos/lib/eval-config: Document the use of baseModules 2022-09-24 17:38:09 +01:00
Robert Hensing 57ac9dd3ae nixos/lib/build-vms.nix: Remove
It has been replaced by the modular test framework in nixos/lib/testing.

If you are looking for a way to produce a VM-test-like configuration
outside of the test framework, use the nixos/lib/testing/nixos-test-base.nix
NixOS module, possibly in combination with { _module.args.nodes = .....; }.
2022-09-24 17:38:09 +01:00
Robert Hensing 24d1d74e4e nixos/testing: Extract nixos-test-base.nix NixOS module 2022-09-24 17:38:09 +01:00
Robert Hensing 38fb09e427 testing-python.nix: Replace makeTest implementation 2022-09-24 17:38:08 +01:00
Robert Hensing 537f456373 nixos/doc/running-nixos-tests: Simplify running instructions with nixosTests 2022-09-24 17:38:08 +01:00
Robert Hensing 6e2f753989 nixos/doc/running-nixos-tests-interactively: Describe interactive option 2022-09-24 17:38:08 +01:00
Robert Hensing b0c781cc41 nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
K900 640aa41dfb nixos/plasma5: only generate kwinrc/kdeglobals if we have anything to generate 2022-09-24 15:10:14 +03:00
Robert Hensing e18ab300ad
Merge pull request #191647 from hercules-ci/nixos-options-doc-explain-migration
nixos/make-options-doc: Explain docbook to markdown migration
2022-09-24 12:46:50 +01:00
Matthieu Coudron fd62fdca5b virtualisation.docker: require docker.service for docker-prune.service
else docker-prune fails when docker is not launched. Adjusted the test as well
2022-09-24 10:42:00 +02:00
Azat Bahawi 99dc9b9c16
nixos/endlessh-go: init module 2022-09-23 23:55:54 +03:00
github-actions[bot] b23abdbc62
Merge staging-next into staging 2022-09-23 12:02:09 +00:00
github-actions[bot] ef833a6fd2
Merge master into staging-next 2022-09-23 12:01:34 +00:00
Vladimír Čunát b6e4e0f8ef
Merge #191727: firefox-esr-91, thunderbird-91: drop
...into staging-next
2022-09-23 11:51:26 +02:00
Alexander Bantyev 9ee2ceb492
Merge pull request #192496 from cab404/moonraker-defaults-fix
nixos.moonraker: fix config options location
2022-09-23 11:25:57 +04:00
cab e46430d503
nixos.moonraker: version change fixes
Old config locations were deprecated
https://moonraker.readthedocs.io/en/latest/configuration/#option-moved-deprecations.

Also, added PrivateTmp to accomodate for logs being unconditionally
written there.
2022-09-23 11:17:54 +04:00
cab 849c40b5f5
klipper: additional options
This allows for easier interop with Moonraker, as well as giving an
ability to store klipper configuration files in /var/lib/klipper, thus not
littering /etc with all the backups SAVE_CONFIG does.

- Added `configFile` as an alternative way to specify configuration
- Added `isMutableConfig` and `mutableConfigPath`

Co-authored-by: @lovesegfault <bernardo@meurer.org>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Bernardo Meurer <bernardo@meurer.org>
2022-09-23 03:10:28 +04:00
Vladimír Čunát e9a9c34f4b
Merge branch 'staging-next' into staging 2022-09-22 19:08:09 +02:00
Vladimír Čunát 3671ea902a
Merge branch 'master' into staging-next 2022-09-22 19:06:26 +02:00
Florian Brandes 73f09f2145
pgadmin4: 6.12 -> 6.13
- Add update script
- Add email options to pgadmin4 nixOS module
- Add override for flask 2.2

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-09-22 17:42:20 +02:00
github-actions[bot] a3f8caaf61
Merge staging-next into staging 2022-09-22 12:02:15 +00:00
Maximilian Bosch b2ec74836b
Merge pull request #191670 from Ma27/fix-hardened-kernel-update
linux/hardened: fix update script and build for 5.19
2022-09-22 11:03:31 +02:00
Martin Weinelt c571a5d1c2
Merge pull request #192388 from erikarvstedt/paperless-fix-syscalls 2022-09-22 09:11:23 +02:00
github-actions[bot] 7725fd3617
Merge staging-next into staging 2022-09-22 06:20:23 +00:00
github-actions[bot] 659e794cd5
Merge master into staging-next 2022-09-22 06:19:43 +00:00
Erik Arvstedt ecacff35a6
nixos/paperless: add required syscall
`unpaper` requires syscall 238 (`set_mempolicy`).
Add this by un-blocking the systemd syscall filter set `@resources`
which is safe in the context of paperless.
2022-09-22 08:14:21 +02:00
figsoda 2bf91a6157
stylua: 0.14.3 -> 0.15.0 (#192279) 2022-09-22 14:50:19 +10:00
github-actions[bot] e9b2b25a61
Merge staging-next into staging 2022-09-22 00:03:56 +00:00
github-actions[bot] 6ded381b0e
Merge master into staging-next 2022-09-22 00:03:22 +00:00
Sandro fad61ad09c
Merge pull request #188949 from RaitoBezarius/listmonk-module 2022-09-21 23:42:03 +02:00
github-actions[bot] 2773f22a43
Merge staging-next into staging 2022-09-21 18:02:00 +00:00
github-actions[bot] 57e15d64c3
Merge master into staging-next 2022-09-21 18:01:25 +00:00
Raito Bezarius 6b891f4788 nixos/listmonk: init module 2022-09-21 19:55:20 +02:00
Jakub Kozłowski 944c6691fc
aws: remove, recommend awscli / awscli2 (#176707)
Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
2022-09-21 19:06:36 +02:00
maralorn d3eeb5fcd2 Merge remote-tracking branch 'refs/remotes/origin/haskell-updates' into haskell-updates 2022-09-21 17:43:42 +02:00
maralorn 90eacab493 Merge branch 'master' into haskell-updates 2022-09-21 17:42:00 +02:00
maralorn bdcbbc7bd2 haskell-language-server: Default toplevel attribute to dynamic linking and one ghc version 2022-09-21 16:39:12 +02:00
maralorn e2c6425398
Merge pull request #191991 from maralorn/drop-minor-versions
haskell.{compiler,packages}: Add aliases without minor versions
2022-09-21 16:15:48 +02:00
Brian Leung e5f798f3b9 nixos/lemmy: use PostgreSQL module to ensure database/user existence
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-21 09:00:52 -04:00
Brian Leung 3de898f262 nixos/lemmy: inline localPostgres into database assertion
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
Co-authored-by: Brian Leung <leungbk@posteo.net>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-09-21 09:00:52 -04:00
github-actions[bot] ef4dc6ef6a
Merge staging-next into staging 2022-09-21 12:02:28 +00:00
github-actions[bot] 15bbf4d3fc
Merge master into staging-next 2022-09-21 12:01:48 +00:00
Martin Weinelt b3c86ef755
firefox-esr-91-unwrapped: drop
The 91 series has reached its end of life.
2022-09-21 13:45:38 +02:00
Robert Hensing 5727fd3e6f nixosTests.agate: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing 15dcbc2514 nixosTests.aesmd: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing edf8be37af nixosTests.adguardhome: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing b7ffe44469 nixosTests.acme: Use module system based runner 2022-09-21 10:55:12 +01:00
Robert Hensing 9e4277b970 nixos/testing/network.nix: Fix for specialisations and specialArgs.name
Before this, it relied on being able to `imports` from the `name`
module argument, which wasn't really necessary and required a
potentially quite breaking change. We can revert that now.
2022-09-21 10:55:12 +01:00
Robert Hensing 0691b450b1 nixosTests._3proxy: Use module system based runner 2022-09-21 10:55:11 +01:00
Robert Hensing a958a4aa00 nixos/testing: Add pkgs parameter
This parameter is for packages to use in VMs, unlike hostPkgs.
2022-09-21 10:55:11 +01:00
Robert Hensing 124b0c4abc nixos/testing/network.nix: Avoid deprecated .config 2022-09-21 10:55:11 +01:00
Robert Hensing 3c09cb2363 nixos/all-tests.nix: Improve runTest for release.nix
... and add runTestOn.
2022-09-21 10:55:11 +01:00
Robert Hensing b3de22483c nixos/testing-python.nix: Add evalTest
This is a decomposition of the testing-python.nix and build-vms.nix
files into modules.

By refactoring the glue, we accomplish the following:

 - NixOS tests can now use `imports` and other module system features.
    - Network-wide test setup can now be reusable; example:
       - A setup with all VMs configured to use a DNS server
       - Split long, slow tests into multiple tests that import a
         common module that has most of the setup.
    - Type checking for the test arguments
    - (TBD) "generated" options reference docs
 - Aspects that had to be wired through all the glue are now in their
   own files.
    - Chief example: interactive.nix.
    - Also: network.nix

In rewriting this, I've generally stuck as close as possible to the
existing code; copying pieces of logic and rewiring them, without
changing the logic itself.

I've made two exceptions to this rule

 - Introduction of `extraDriverArgs` instead of hardcoded
   interactivity logic.

 - Incorporation of https://github.com/NixOS/nixpkgs/pull/144110
   in testScript.nix.

I might revert the latter and split it into a new commit.
2022-09-21 10:55:11 +01:00
oxalica 07a9b7b1d8 nixos/{test/,}v2ray: fix for new CLI and use upstream systemd units 2022-09-21 15:59:29 +08:00
Jonas Heinrich ed1b801f8d
Merge pull request #192110 from rski/master
nixos/modules/sway: Remove unsupported flag in doc
2022-09-21 09:50:49 +02:00
github-actions[bot] 7f9508dfa0
Merge staging-next into staging 2022-09-21 06:24:07 +00:00
github-actions[bot] 071a9fc320
Merge master into staging-next 2022-09-21 06:23:26 +00:00
maralorn fae2ff5c03 haskell.{compiler,packages}: Add aliases without minor versions 2022-09-21 05:51:28 +02:00
Robert Hensing 97f6e8b3e6
Merge pull request #191988 from zombiezen/fix-docker-ca-certificates
dockerTools: add missing mkdir to caCertificates derivation
2022-09-21 01:20:00 +01:00
Kira Bruneau 2a916b6c29 nixos/xpadneo: add sanity test 2022-09-20 20:07:11 -04:00
github-actions[bot] 1b62f29126
Merge staging-next into staging 2022-09-21 00:04:25 +00:00
github-actions[bot] 7da9ac9ae6
Merge master into staging-next 2022-09-21 00:03:46 +00:00
Robert Hensing cbb1f39264 nixosTests.docker-tools: Add image-with-certs 2022-09-21 01:00:04 +01:00
Kira Bruneau 216a21c638 linuxPackages.xpadneo: 0.9.4 -> 0.9.5 2022-09-20 18:52:46 -04:00
Thomas Tuegel fff89194fe
Merge pull request #183381 from alois31/oxygen-sounds
oxygen-sounds: init at 5.25.3
2022-09-20 14:25:55 -05:00
Romanos Skiadas 460b4b8c1a nixos/modules/sway: Remove unsupported flag in doc
--my-next-gpu-wont-be-nvidia is no longer supported as of 1.7
2022-09-20 20:51:27 +03:00
github-actions[bot] abd82bc57d
Merge staging-next into staging 2022-09-20 12:02:05 +00:00
github-actions[bot] 1edfa00d80
Merge master into staging-next 2022-09-20 12:01:29 +00:00
Florian Klink 40461db5c5
Merge pull request #191904 from SuperSandro2000/191032-cleanup
nixos/systemd: remove not required or true
2022-09-20 12:45:00 +02:00
Martin Weinelt 5d4267b0f2 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-20 12:25:19 +02:00
Jonas Heinrich 77984dedc4
Merge pull request #191851 from wentasah/usbrelay-1.0.1
usbrelay: 1.0 -> 1.0.1
2022-09-20 12:23:36 +02:00
Peder Bergebakken Sundt d9de5da65b nixos/code-server: escape shell extraArguments 2022-09-19 22:21:26 +02:00
Brian Leung 2c8e67bf6b nixos/lemmy: settings.database.createLocally -> database.createLocally
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-19 11:34:08 -04:00
Sandro 5267176a38
nixos/ddclient: document that daemon should not be set
Closes #191105
2022-09-19 17:06:45 +02:00
Sandro Jäckel 03b6d5111a
nixos/systemd: remove not required or true 2022-09-19 13:45:01 +02:00
Christian Kögler 155c7b11a5 nixos/test: Fix system for systemd-machinectl 2022-09-19 13:33:32 +02:00
Jakub Okoński 1655d5ab7a
nixos/rust-motd: fix systemd service checks
By completely locking down RestrictAddressFamilies, the service
was unable to talk to systemd to check .service statuses.
2022-09-18 23:17:50 +02:00
Michal Sojka ec026d26d2 usbrelay: 1.0 -> 1.0.1 2022-09-18 22:54:13 +02:00
github-actions[bot] d5cae016d9
Merge staging-next into staging 2022-09-18 12:02:15 +00:00
github-actions[bot] 7b5db3faac
Merge master into staging-next 2022-09-18 12:01:40 +00:00
Maximilian Bosch 073f7b179c
nixos/kernel-generic: build linux_5_19_hardened 2022-09-18 12:13:58 +02:00
Linus Heckemann fb517fc0b0
Merge pull request #191672 from Ma27/rm-kernel-18
linux: remove 5.18
2022-09-18 12:09:02 +02:00
github-actions[bot] da8996606d
Merge staging-next into staging 2022-09-18 06:03:46 +00:00
Vladimír Čunát f8dcf25486
Merge branch 'master' into staging-next 2022-09-18 07:31:10 +02:00
Franz Pletz 60e0f368f1
Merge pull request #191552 from Tasqa/libvirtd-zfs-storage 2022-09-18 04:21:15 +02:00
Lorenzo Manacorda 241f31a0a7 nixos/matrix-synapse: fix link to install instructions 2022-09-18 04:14:57 +02:00