Commit Graph

6907 Commits

Author SHA1 Message Date
Bjørn Forsman
f561e395bd nixos/tests/deconz: init 2023-10-16 20:49:41 +02:00
Silvan Mosberger
e0b3b074fb
Merge pull request #255547 from Majiir/pam-modular-rules
nixos/pam: assemble rules from modular configuration
2023-10-16 19:41:00 +02:00
Arian van Putten
dd3deac858
Merge pull request #261452 from nikstur/systemd-repart-gpt-header
nixos/systemd-repart: remove superfluous gpt manipulation
2023-10-16 18:05:55 +01:00
nikstur
e8b4e945dd nixos/systemd-repart: remove superfluous gpt manipulation 2023-10-16 19:03:57 +02:00
Jennifer Graul
d4b59bcdb0 nixos/librenms: add nixos test 2023-10-16 13:28:22 +02:00
Jean-François Roche
fb3723fe52
nixos/tang: create module for tang server (#247037)
This commit adds a module for the tang server and the related nixos test.
2023-10-16 13:10:15 +02:00
Julien Malka
8cff7c9e69 tests/ferretdb: init 2023-10-16 10:15:30 +02:00
zowoq
4ef9100595 nixosTests.buildbot: fix impure evaluation 2023-10-16 15:40:45 +10:00
Maximilian Bosch
083a10949a
Merge pull request #258695 from Majiir/fix-networkd-defaultgateway
nixos/network-interfaces-systemd: support and require defaultGateway.interface
2023-10-15 16:42:01 +02:00
Lassulus
a3dacf1dc8
Merge pull request #260306 from doronbehar/nixos/syncthing-many-devices 2023-10-15 10:24:40 +01:00
Doron Behar
79c78d68c6 nixos/syncthing: get API key for every curl request
Fixes #260262.
2023-10-15 02:04:52 +03:00
Doron Behar
b9b120c607 nixosTests.syncthing-many-devices: init 2023-10-15 02:04:52 +03:00
Maximilian Bosch
632cfff257
Merge pull request #259619 from Majiir/fix-networkd-dhcp
nixos/network-interfaces-systemd: fix DHCP setting
2023-10-14 20:47:36 +02:00
Majiir Paktu
c4228b6c8f nixos/network-interfaces-systemd: fix DHCP setting
The networkd backend logic for setting DHCP= on an interface is bugged
and inconsistent with the scripted logic. Consider this simple NixOS
configuration:

    {
      networking.useNetworkd = true;
      networking.interfaces.eth0.wakeOnLan.enable = true;
    }

The default value of networking.useDHCP is true, so we expect our eth0
interface to have DHCP enabled. With the scripted backend, this works.
But the networkd backend generates the following 40-eth0.network file:

    [Match]
    Name=eth0

    [Network]
    DHCP=no
    IPv6PrivacyExtensions=kernel

This is happening because the wakeOnLan configuration creates a key in
networking.interfaces, and the networkd backend erroneously checks that
instead of for explicitly configured IP addresses as in the scripted
backend. The documentation is also inconsistent across various options.

This change aligns the networkd backend and option documentation to the
actual behavior of the scripted backend, and updates a test to account
for this behavior for both backends.
2023-10-14 13:57:32 -04:00
Fabián Heredia Montiel
d80ad25cf8
Merge pull request #259792 from Luflosi/kubo-test-improvements
nixos/tests/kubo: various improvements
2023-10-13 16:13:46 -06:00
Bobby Rong
3eb6ccb947
Merge pull request #260479 from bobby285271/upd/xfce-test
nixosTests.xfce: Extend the test
2023-10-13 23:36:44 +08:00
Maximilian Bosch
35f6dbe7fc
Merge pull request #259967 from Ma27/nextcloud-cleanups
nextcloud: 27.1.0 -> 27.1.2, update nginx, drop nextcloud25
2023-10-13 16:40:40 +02:00
Bobby Rong
8609b30455
nixosTests.xfce: Extend the test
So we got some basic OCR testing here.
2023-10-13 22:40:03 +08:00
Weijia Wang
1cdfe7f591
Merge pull request #260260 from wegank/wordpress-alias
wordpress6_1, wordpress6_2: drop
2023-10-12 19:38:05 +02:00
Molly Miller
1a794a3e4b nixos/mailman: store locks in ephemeral runtime directory
nixosTests.mailman: test mailman master lock handling
2023-10-12 10:39:18 +00:00
Artturi
520e363e82
Merge pull request #259891 from l0b0/refactor/xkb-attrset 2023-10-12 08:43:28 +03:00
Adam Stephens
cb719dfa72
nixos/tests/sabnzbd: add check for sabctools mismatch 2023-10-11 08:53:22 -04:00
Atemu
16fb0b365d
Merge pull request #259056 from leona-ya/nixos-paperless-systemd-254
nixos/paperless: fix start with latest systemd
2023-10-11 13:15:24 +02:00
Victor Engmark
3a6c79cff6 nixos/x11: refactor XKB options into a single attrset
[Motivation](https://github.com/NixOS/nixpkgs/issues/257817#issuecomment-1741705042):

- Having all the XKB options in the same attribute set clarifies their
  relation better than using a common option name prefix ("xkb").
- `services.xserver.layout` is an XKB option, but this is not obvious
  from its name. Putting it with the other XKB options clarifies this.

Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
2023-10-11 09:46:37 +03:00
Majiir Paktu
43f7cb4a95 nixos/pam: add order comment to each rule line 2023-10-10 21:11:35 -04:00
Majiir Paktu
5b8439f966 nixos/pam: add settings option for common argument styles
Adds easily overrideable settings for the most common PAM argument
styles. These are:

- Flag (e.g. "use_first_pass"): rendered for true boolean values. false
  values are ignored.

- Key-value (e.g. "action=validate"): rendered for non-null, non-boolean
  values.

Most PAM arguments can be configured this way. Others can still be
configured with the 'args' option.
2023-10-10 21:11:34 -04:00
Martin Weinelt
37773cd0b0
Merge pull request #259729 from natsukium/factory-boy
python311Packages.factory-boy: rename from factory_boy
2023-10-11 02:04:37 +02:00
Weijia Wang
7db9836654 wordpress6_1, wordpress6_2: drop 2023-10-10 18:38:22 +02:00
Jörg Thalheim
8335022649 nixos/tests/systemd-boot: improve assertion error for update test 2023-10-10 14:49:51 +02:00
Luflosi
cf8aa48605
nixos/tests/kubo: various improvements
Add new test to check if kubo.passthru.repoVersion is set correctly.
Also split the existing NixOS VM test into two independent parts. The test already used two independent VMs but just one testScript. This made experimenting with just one of the two VMs slower than it needed to be. It should also increase parallelism slightly since both test scripts can now run at the same time.
2023-10-10 10:46:25 +02:00
Majiir Paktu
6eea7fb194 nixos/pam: extract args field
Module arguments have common escaping rules for all PAMs.
2023-10-09 23:17:37 -04:00
Ryan Lahfa
bfc5d57d66
Merge pull request #259886 from RaitoBezarius/drop-varnish 2023-10-10 00:46:20 +02:00
Doron Behar
6843abd5fb
Merge pull request #231152 from tcheronneau/nixos.tinyproxy
Adding tinyproxy service to NixOS
2023-10-09 23:53:58 +03:00
Bobby Rong
f5ec74729c
Merge pull request #259787 from bobby285271/upd/pantheon-test
nixosTests.pantheon: Extend the tests
2023-10-09 20:41:32 +08:00
ajs124
dbe4e6d2c0 varnish74: init at 7.4.1 2023-10-09 14:14:21 +02:00
Raito Bezarius
f9f7fd208a varnish72: drop, varnish73: drop
All of them are EOL according to https://endoflife.date/varnish
2023-10-09 03:06:32 +02:00
Bobby Rong
585164f759
nixosTests.pantheon: Extend the tests
This help me discover issues when I do manual testing.
2023-10-09 00:14:30 +08:00
Doron Behar
50a077328a
Merge pull request #259259 from Lassulus/syncthing_stale
nixos/syncthing: match stale ids by subtracting in jq
2023-10-08 12:53:34 +03:00
Sarah Brofeldt
9b73af9b27
Merge pull request #259498 from TLATER/tlater/gitea-metrics
gitea: Add option to supply the metrics token via file
2023-10-08 07:53:33 +02:00
natsukium
abd8c26137
python311Packages.factory-boy: rename from factory_boy 2023-10-08 12:32:12 +09:00
Majiir Paktu
c3e90f5667 nixos/network-interfaces-systemd: require defaultGateway.interface
The logic for configuring a gateway without an interface specified adds
a route with Gateway= to *every interface* configured by NixOS for
networkd. This leads to nonsensical configurations like the following:

    [Network]
    DHCP=no
    Address=192.168.0.1/24

    [Route]
    Gateway=10.0.0.1
    GatewayOnLink=false

We remove this logic and make defaultGateway.interface required to
configure a default gateway when using networkd.

We can ignore the removal of GatewayOnLink because systemd defaults it
to "no" anyway.
2023-10-07 16:09:11 -04:00
Tristan Daniël Maat
b59e5a34e7
nixos/gitea: Add option to supply the metrics token via file 2023-10-07 21:53:02 +02:00
Lin Jian
021da9bf62
Merge pull request #259549 from woojiq/keyd
nixos/keyd: add `extraConfig` option
2023-10-07 23:18:51 +08:00
Maximilian Bosch
efc5c80e18
nextcloud25: remove
EOL of Nextcloud v25 is scheduled by the end of this month.
2023-10-07 16:16:42 +02:00
Bobby Rong
383b753bba
Merge pull request #259363 from bobby285271/fix/gnome-flashback
gnome.gnome-flashback: Fix x-d-p-gnome launch
2023-10-07 20:56:26 +08:00
Mario Rodas
5103716b44
Merge pull request #252800 from 1000101/prometheus-pgbouncer-exporter
prometheus-pgbouncer-exporter: init at 0.7.0
2023-10-07 06:37:06 -05:00
Doron Behar
34888cd1d1 nixos/tests/syncthing-init: Remove unused testName attribute 2023-10-07 14:04:43 +03:00
1000101
3b094812b1 prometheus-pgbouncer-exporter: init at 0.7.0 2023-10-07 11:44:40 +02:00
woojiq
fee1832e84 nixos/keyd: add extraConfig option 2023-10-07 11:50:04 +03:00
K900
b7a3aaae38
Merge pull request #259460 from K900/test-eval-fixes
treewide: test eval fixes
2023-10-07 07:36:46 +03:00