Commit graph

9729 commits

Author SHA1 Message Date
Grimmauld b27f064b54
nixos/tests/apparmor: move to folder, refactor, improve coverage
- nixfmt on apparmor test
- move apparmor test to nixos/tests/apparmor directory
- expected profile contents are now generated in its own file to make the test file less confusing and hard to maintain
- enforce/complain is now being tested via diff of expected against aa-status
- path is now tested against diff+file checking symlink target of /etc/static/apparmor.d/<name>
- profile is now checked by diff of /etc/static/apparmor.d/<name> against original string added in nix config
- test still successfully passes
- added test for confined hello to succeed
- added test for confined hexdump on denied path to fail
2024-12-16 15:32:48 +01:00
Grimmauld 1f750cfa3d
nixos/tests/apparmor.nix: fix expected.rules 2024-12-16 15:31:39 +01:00
Grimmauld db05ce5ef7
nixos/tests/apparmor.nix: Format 2024-12-16 15:31:34 +01:00
github-actions[bot] fdf348e885
Merge staging-next into staging 2024-12-15 22:48:09 +00:00
github-actions[bot] af17642ca2
Merge master into staging-next 2024-12-15 22:47:48 +00:00
Arne Keller e89a8d56de
whisparr: init at 2.0.0.548 + nixos/whisparr: initial commit (#244172) 2024-12-15 23:01:50 +01:00
github-actions[bot] 0feac87dda
Merge staging-next into staging 2024-12-15 18:04:43 +00:00
github-actions[bot] 095d892127
Merge master into staging-next 2024-12-15 18:04:15 +00:00
Christina Sørensen 1e4e6fda97
nixos/conduwuit: init (#353651) 2024-12-15 13:51:20 +01:00
Bobby Rong d49df3170c
nixos/tests/xfce-wayland: init
Use wlrctl instead of wait_for_window, to avoid xwininfo usages.
2024-12-15 20:08:15 +08:00
github-actions[bot] d4f1f4e849
Merge staging-next into staging 2024-12-14 18:04:44 +00:00
github-actions[bot] 3f0c889154
Merge master into staging-next 2024-12-14 18:04:17 +00:00
Fabián Heredia Montiel d539a4a7e4 linux/hardened/patches/6.12: init at v6.12.4-hardened1 2024-12-14 10:28:48 -06:00
Aleksana 8f34efc81a
artalk: build frontend from source (#357762) 2024-12-14 22:18:06 +08:00
Niklas Korz 5161dce855 nixos/conduwuit: init 2024-12-14 12:06:03 +01:00
github-actions[bot] e79b7de8c6
Merge staging-next into staging 2024-12-14 06:05:19 +00:00
github-actions[bot] fcb5dbc7a8
Merge master into staging-next 2024-12-14 06:04:52 +00:00
Adam C. Stephens fca291c8d3
incus: 6.7.0 -> 6.8.0 (#365051) 2024-12-13 22:28:31 -05:00
Adam C. Stephens 967137ab0e
incus: 6.7.0 -> 6.8.0
https://github.com/lxc/incus/releases/tag/v6.8.0
2024-12-13 20:34:47 -05:00
Ember 'n0emis' Keske 601504d994 Remove n0emis as direct maintainer 2024-12-13 22:10:53 +01:00
illustris c62ec80d1f
hadoop, nixos/hadoop, nixosTests/hadoop: nixfmt 2024-12-14 00:31:48 +05:30
illustris b1e4a232f4
nixos/hadoop: fix failing hdfs test 2024-12-13 23:20:29 +05:30
illustris bdd10c641e
nixos/hadoop: fix failing yarn tests 2024-12-13 23:18:14 +05:30
Bjørn Forsman 5843a13d38 nixos/tests/jenkins: increase disk size to 2 GiB
Or else Jenkins stops the built-in node due to lack of disk space (when
using the default 1 GiB).
2024-12-13 16:19:29 +01:00
github-actions[bot] 2ec3c7e6ba
Merge master into staging-next 2024-12-13 06:05:07 +00:00
Aleksana 9438783032
shadps4: 0.4.0 -> 0.4.0-unstable-2024-12-08 (#362772) 2024-12-13 11:03:26 +08:00
K900 81eb6d64ab Merge remote-tracking branch 'origin/master' into staging-next 2024-12-12 21:08:33 +03:00
Yethal 91bb1c6d75
oci-containers: consolidate capabilities interface (#363574)
* oci-containers: consolidate capabilities interface

* Update nixos/modules/virtualisation/oci-containers.nix

Improved wording

Co-authored-by: Benjamin Staffin <benley@zoiks.net>

---------

Co-authored-by: Benjamin Staffin <benley@zoiks.net>
2024-12-12 11:50:13 -05:00
Philip Taron 5c8616a914
nixosTests: remove firefox-esr-115 tests
This version of Firefox has reached EOL.
2024-12-12 08:08:24 -08:00
Thiago Kenji Okada 0d2883adc2
nixos-rebuild-ng: add module changes and port tests from nixos-rebuild (#363922) 2024-12-12 12:40:40 +00:00
Jörg Thalheim 6618b699f8
nixos/google-oslogin: drop myself from maintainers (#364577) 2024-12-12 13:34:52 +01:00
Florian Klink 464e04903a nixos/google-oslogin: drop myself from maintainers
I haven't been using GCP for a while.
2024-12-12 14:16:43 +02:00
Florian Klink 4e7a971fe4
nixos/waagent: init module (#362101) 2024-12-12 14:11:39 +02:00
Arne Keller abeecc9b02
nixos/minio: add TLS certificates option (#340441) 2024-12-12 10:22:07 +01:00
Arne Keller 27aef3ef74
nixos/dokuwiki: Don't force http with Caddy (#327743) 2024-12-12 10:21:24 +01:00
github-actions[bot] da49cc09b4
Merge master into staging-next 2024-12-12 06:05:10 +00:00
Moraxyc 8a7f909947
nixosTests.artalk: add auth test 2024-12-12 13:15:02 +08:00
Leah Amelia Chen 68891efe67
marytts: init at 5.2.1-unstable-2024-10-09, nixos/marytts: init (#351933)
* marytts: init at 5.2.1-unstable-2024-10-09

* nixos/marytts: init module

* nixos/marytts: add tests
2024-12-12 00:12:54 -05:00
github-actions[bot] a6d6facdbd
Merge master into staging-next 2024-12-12 00:15:34 +00:00
Arne Keller 1a0bc2c68d
nixos/rtkit: Add option for rtkit-daemon command-line args (#299696) 2024-12-11 23:00:50 +01:00
Ramses baaaa3f67d
switch-to-configuration-ng: fix clippy issues and run clippy in drv (#363912) 2024-12-11 21:36:39 +01:00
Weijia Wang c3b1815822 Merge branch 'master' into staging-next 2024-12-11 16:42:17 +01:00
Alyssa Ross e9eff47002 nixos/networking: don't add extra names to ::1
From hosts(5):

> For each host a single line should be present with the following
> information:
>
>               IP_address canonical_hostname [aliases...]

With lines like "::1 localhost ahost.adomin ahost", we were saying
that the canonical name for "ahost" was "localhost", the opposite of a
canonical name.  This is why a second loopback address (127.0.0.2) is
used for hostnames with IPv4 — if they were put after "localhost" on
the 127.0.0.1 line, the same thing would happen.  With IPv6 we can't
do the same thing as there's only a single loopback address, so
instead the right thing to do is to simply not list the hostnames in
/etc/hosts, and rely on the myhostname NSS plugin, which will handle
this correctly.

(Note that the examples in hosts(5) also do not include IPv6 FQDN or
hostname entries.)
2024-12-11 11:09:40 +01:00
r-vdp 779c710476
nixos/switch-test: use the runTest handler to improve eval performance
The newer runTest handler uses a single nixpkgs instance to eval all the
specialisations, reducing the memory usage and eval time of the test
drastically compared to handleTest which creates a new nixpkgs instance
for every specialisation.
2024-12-11 10:06:03 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Silvan Mosberger 84d4f874c2 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Thiago Kenji Okada 1b5fac463b nixos/tests: add nixos-rebuild-target-host-ng 2024-12-10 18:38:09 +00:00
Thiago Kenji Okada 063639b2be nixos/tests: add nixos-rebuild-specialisations-ng 2024-12-10 18:38:09 +00:00
Thiago Kenji Okada 81148841b9 nixos/tests: add nixos-rebuild-install-bootloader-ng 2024-12-10 18:38:09 +00:00
OPNA2608 88d11cc667 tests/shadps4: init 2024-12-10 11:55:21 +01:00
K900 07105d9e6f Merge remote-tracking branch 'origin/master' into staging-next 2024-12-10 09:47:05 +03:00
github-actions[bot] ceb62729d2
Merge master into staging-next 2024-12-09 18:05:05 +00:00
Martin Weinelt 2b03b37393
nixos/tests/home-assistant: call with runTest 2024-12-09 19:00:30 +01:00
Martin Weinelt 579ade1ed8
nixos/tests/home-assistant: fix testing of restart with new dependency
The backup module is part of the default integrations and as such it will
always be loaded. Replace it with the prometheus module, for which this
is probably unlikely to ever become the case.
2024-12-09 19:00:30 +01:00
Martin Weinelt be150023f7
nixos/tests/home-assistant: fix reload expectations
When sending SIGHUP to hass it will exit with code 100, which is the
codified exit code to trigger a restart. This is useful, because it can
allow triggering a restart from within the frontend.

It was previously assumed that it would result in a reload, which would
keep the same interpreter process intact. That is not the case and so the
assumption that the PID would stay the same was flawed and only succeeded
due to race conditions.
2024-12-09 19:00:29 +01:00
David McFarland f5a5157f1f
Update jdreaver email, remove as prowlarr maintainer (#362954) 2024-12-09 12:41:07 -04:00
David Reaver 1b7de0a3e7 prowlarr: remove jdreaver as maintainer 2024-12-09 07:48:59 -08:00
Anders Johan Jamtli e5624846c3 nixos/minio: add certificatesDir option 2024-12-09 16:30:47 +01:00
Lukas Werling 1475f480d5 nixos/dokuwiki: Don't force http with Caddy
Caddy usually expects just a hostname without scheme to do its automatic
HTTPS.  It is possible to get the old behavior (only HTTP) by setting
`services.caddy.virtualHosts.<host>.hostName`.
2024-12-09 11:49:52 +01:00
K900 5ebe22ffe1 Merge remote-tracking branch 'origin/master' into staging-next 2024-12-09 09:42:51 +03:00
Zexin Yuan 53bd25e9e2
kanboard: init at 1.2.42 (#357229) 2024-12-08 20:17:10 -05:00
github-actions[bot] c45456d867
Merge master into staging-next 2024-12-08 18:04:12 +00:00
Leona Maroni 140aaee1de
nixos/paperless: add 'database.createLocally' (#359563) 2024-12-08 13:50:24 +01:00
github-actions[bot] 38a78130f6
Merge master into staging-next 2024-12-08 12:05:39 +00:00
Aleksana 7a7cab08b6
immich: 1.121.0 -> 1.122.1 (#362233) 2024-12-08 19:05:36 +08:00
K900 2e337411b0 Merge remote-tracking branch 'origin/master' into staging-next 2024-12-08 08:46:20 +03:00
misuzu afe27494fa
nixos/wireguard-networkd: init (#259092) 2024-12-08 07:39:52 +02:00
codgician caa41052bb
Merge branch 'master' into waagent-module 2024-12-08 12:59:45 +08:00
Masum Reza c584da6436
Apparmor: Adopt package, nixos module and nixos tests (#359817) 2024-12-08 09:56:55 +05:30
Majiir Paktu a5de36518f nixos/wireguard-networkd: init
Adds a networkd backend for the networking.wireguard options.
2024-12-07 20:01:17 -05:00
github-actions[bot] 171c0c7ed6
Merge master into staging-next 2024-12-07 00:15:17 +00:00
Sandro a4f09cbbf5
lomiri.lomiri-mediaplayer-app: init at 1.1.0 (#359708) 2024-12-06 23:20:47 +01:00
Christoph Heiss efbb8bd904
nixos/tests/prometheus-exporters: add tests for mqtt-exporter
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-12-06 19:29:09 +01:00
Robert Schütz 2c8a792fac immich: 1.121.0 -> 1.122.1
https://github.com/immich-app/immich/releases/tag/v1.122.0
https://github.com/immich-app/immich/releases/tag/v1.122.1
2024-12-06 08:28:50 -08:00
codgician 0d7c515332
waagent: init module 2024-12-06 23:32:16 +08:00
Rodney Lorrimar 686c2c3d00
nixos/rtkit: Add tests 2024-12-06 12:43:55 +08:00
github-actions[bot] f8370cc147
Merge master into staging-next 2024-12-05 18:04:28 +00:00
Yethal 04bf3d8774
nixos/modules/virtualisation: additional configuration options (#349537)
oci-containers: additional configuration options
2024-12-05 12:48:41 -05:00
Leona Maroni 65e0eebf2d
nixos/victoriametrics: the prometheusConfig option isn't null by default (#361778) 2024-12-05 15:07:48 +01:00
misuzu 2f12b59f31
nixos/tests/networking: fix flaky scripted.dhcpSimple test (#361834) 2024-12-05 14:52:47 +02:00
github-actions[bot] 35ce54d1fd
Merge master into staging-next 2024-12-05 00:15:50 +00:00
Jörg Thalheim 6541fe7311
nixos/installer: Allow setting a password on cmdline for pxe boot (#358722) 2024-12-05 00:33:39 +01:00
misuzu 92df50f4d0 nixos/tests/networking: fix flaky scripted.dhcpSimple test
The underlying issue is unknown, but starting
the router first and then the client makes the test not flaky.
2024-12-04 20:18:46 +02:00
Ryan Yin 534b77f858 nixos/victoriametrics: the prometheusConfig option isn't null by default 2024-12-04 22:54:29 +08:00
github-actions[bot] 331228b648
Merge staging-next into staging 2024-12-04 00:16:05 +00:00
Franz Pletz f9f7d7b58c
nixos/networkd: use upstream wait-online@ unit (#360319) 2024-12-03 21:40:30 +01:00
github-actions[bot] fdd294bc8f
Merge staging-next into staging 2024-12-03 18:05:34 +00:00
Masum Reza 93e8ab64be
linuxPackages.drbd: 9.2.8 -> 9.2.12 (#360238) 2024-12-03 22:54:22 +05:30
Marcus Ramberg 629bf81b67
nixos/k3s: refactor k3s multi node test (#355230) 2024-12-03 17:02:49 +01:00
github-actions[bot] 9fda0f5ae0
Merge staging-next into staging 2024-12-03 00:16:58 +00:00
K900 6739ae1174 Merge remote-tracking branch 'origin/staging-next' into staging 2024-12-02 22:43:34 +03:00
Rick van Schijndel dbf753c544
tandoor-recipes: drop maintainership (#359603) 2024-12-02 19:36:59 +01:00
Franz Pletz 1e0c4e50b0
network: Fix cycle dependency causing race of netdev and address configuration (#352523) 2024-12-02 13:13:24 +01:00
Bruno BELANYI 9a0ae3a604 tandoor-recipes: drop maintainership
I stopped using it, I can't test updates anymore.
2024-12-02 12:02:24 +00:00
Bruno BELANYI bec086164a nixosTests.paperless: use 'database.createLocally' 2024-12-02 12:01:05 +00:00
misuzu dd9a2e26ac
nixos/nat: Match iptables behavior with nftables, add externalIP check (#277016) 2024-12-02 12:02:45 +02:00
K900 804c0bb0dc Merge remote-tracking branch 'origin/staging-next' into staging 2024-12-02 09:04:57 +03:00
Egor Savkin 8bda6ea01c tests: network: update nixosTests.networking.scripted.virtual to match correct behavior
First, `stop network-addresses-X` should clean up the addresses without deleting the interfaces. And only `stop tap0-netdev` should fully delete the interfaces.

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-12-02 10:57:42 +08:00
Jenny d3ba34c9e4
plausible: 2.0.0 -> 2.1.4 (#356221) 2024-12-01 18:31:00 +01:00
birkb 35d4e5e11b linuxPackages.drbd: 9.2.8 -> 9.2.9
- 6.8 kernel support added
- aligned to Nix standard build environment
- test added
- redundant installPhase and postFixup definitions removed

Signed-off-by: birkb <birk@batchworks.de>
Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
2024-12-01 16:38:06 +01:00