Commit graph

9617 commits

Author SHA1 Message Date
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
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
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
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
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
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
Zexin Yuan 53bd25e9e2
kanboard: init at 1.2.42 (#357229) 2024-12-08 20:17:10 -05:00
Leona Maroni 140aaee1de
nixos/paperless: add 'database.createLocally' (#359563) 2024-12-08 13:50:24 +01:00
Aleksana 7a7cab08b6
immich: 1.121.0 -> 1.122.1 (#362233) 2024-12-08 19:05:36 +08: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
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
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
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
Franz Pletz f9f7d7b58c
nixos/networkd: use upstream wait-online@ unit (#360319) 2024-12-03 21:40:30 +01: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
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