14932 Commits

Author SHA1 Message Date
Robert Hensing aa1345fd8a lib/services: fix reload/readiness bugs and add compliance coverage (#540857) 2026-07-23 16:49:52 +00:00
Matthieu Coudron 1043b7502f nixos/jellyfin: fix hevc10bit decoding toggle being silently ignored (#520045) 2026-07-23 12:26:40 +00:00
Thomas Gerbet 4b38070ce3 coredns: 1.14.3 -> 1.14.6 (#542492) 2026-07-22 20:44:57 +00:00
Jan Tojnar d433491075 gnomeExtensions: bump 2026-07-19 (#543561) 2026-07-22 17:14:48 +00:00
Michele Guerini Rocco 487b2a26cf nixos/tests/grub: add test cases (#542581) 2026-07-22 13:51:26 +00:00
Tom Fitzhenry 36a72f6f00 nixos/tests/installer: add grubCryptodiskLegacyBios and unbreak fullDiskEncryption
grubCryptodiskLegacyBios covers boot.loader.grub.enableCryptodisk on legacy
BIOS: GRUB itself decrypts /boot, entering the LUKS passphrase interactively,
and stage 1 then unlocks the root device with a keyfile embedded via
boot.initrd.secrets. Using a keyfile avoids a second, interactive passphrase
prompt in the initrd, whose wording differs between the scripted and systemd
stage 1 implementations, so the test passes under both (installer and
installer-systemd-stage-1).

fullDiskEncryption was marked broken. On the target boot GRUB's EFI
keyboard input appears to drop characters when the passphrase is typed at
the default speed, producing an "Invalid passphrase" error, so the disk
never unlocked. Type the passphrase more slowly and unbreak the test.

Assisted-by: Claude Opus 4.8
2026-07-22 11:34:12 +00:00
Tom Fitzhenry 889571cf97 nixos/tests/grub: split into a directory and expand coverage
Move nixos/tests/grub.nix to nixos/tests/grub/basic.nix unchanged, and add
new GRUB boot tests under nixos/tests/grub/:

- hashed-password: GRUB user authentication with a
  users.<name>.hashedPasswordFile (a grub-mkpasswd-pbkdf2 hash). The hash is
  generated in a derivation and passed by store path (via toString) rather
  than read at evaluation time, to avoid import-from-derivation. Kept separate
  from basic so each login is exercised on its own VM boot rather than
  multiplexed onto one menu.
- efi: boot through GRUB's EFI support.
- graphical: verify GRUB renders its menu in graphical (gfxterm) mode. A
  marker string is baked into the splash image (which GRUB only draws in
  gfxterm) and read back via OCR, so a silent fallback to text mode would
  fail the test rather than pass it.
- mirrored-boots: verify GRUB is installed and configured on every path
  in boot.loader.grub.mirroredBoots.

Assisted-by: Claude Opus 4.8
2026-07-22 11:34:12 +00:00
kirillrdy 95628463fa nixos/flarum: add initialAdminPasswordFile and databasePasswordFile options (#543724) 2026-07-21 22:42:38 +00:00
Grimmauld d42da8a083 nixos/account-utils: support config file 2026-07-21 21:22:14 +02:00
winston 84224d7c2c nixosTests/gnome-extensions: fix checkExtension conditional
Co-authored-by: Tom Hunze <dev@thunze.de>
2026-07-21 17:49:46 +02:00
Martin Weinelt a918775d8e firefox-esr-153-unwrapped: init at 153.0esr
https://www.firefox.com/en-US/firefox/153.0esr/releasenotes/
2026-07-20 14:32:12 +02:00
cinereal ae9994806c lib/services: fix reload/readiness bugs and add compliance coverage
Fixes several correctness bugs primarily around modular services' recent
reload/notification options (#535695) and adds compliance coverage to guard them.

Fixes:

- `lib/services/service.nix`:
  - the reload-conflict assertion had inverted polarity, so it fired on the
    default configuration
  - the `mkIf` guard on `process.reloadCommand` had a misplaced paren, applying
    `!= null` to the `mkIf` result rather than to the condition
  - `process.reloadSignal` derives `process.reloadCommand`, so the assertion
    could not check `reloadCommand != null` -- that fired on every signal-only
    service. The command is now derived at `mkDefault` priority and the
    assertion is gated on `options.process.reloadCommand.highestPrio`, firing
    only when the user also set `reloadCommand` explicitly.
  - change `notificationProtocol` to a sub-module type
- `nixos/modules/system/service/systemd/service.nix`:
  - `systemd.mainExecReload`'s default ran `escapeSystemdExecArgs` (a list
    escaper) on the `nullOr str` `process.reloadCommand`; this threw
    `expected a list but found a string` and would have mangled `$MAINPID`. It
    now uses `process.reloadCommand` verbatim.
  - the `Type` default read a non-existent
    `config.serviceManager.notificationProtocol` instead of
    `config.notificationProtocol`.

Tests:

Extend the modular-service compliance suite to guard the above:

- Portable (manager-agnostic) eval assertions: `reloadSignal` derives
  `reloadCommand`, the conflict assertion does not fire on signal-only services
  but does when both are set explicitly, and `notificationProtocol.systemd`/`.s6`
  default to `false`.
- systemd-specific eval assertions: `serviceConfig.Type` (simple/notify) and
  `serviceConfig.ExecReload` are asserted on the resolved host units. This
  directly guards the `mainExecReload` fix, which threw before it.
- Runtime reload compliance test: a nested reloadable sub-service is started and
  reloaded, asserting the service observed the reload (recorded a SIGHUP marker).
  `callReload` receives the service's name path (the list of names from the
  top-level service down to the target sub-service); each integration joins it
  per its own unit-naming convention (NixOS dash-joins to the systemd unit name,
  e.g. `reload-inner.service`). Keeping it a path list rather than a read-only
  submodule option keeps the suite manager-agnostic.
- `doc/build-helpers/testers.chapter.md`: document `callReload`.

Follow-up to #535695.

Signed-off-by: cinereal <cinereal@riseup.net>
Assisted-by: Claude:claude-opus-4-8
2026-07-20 11:01:04 +02:00
fsagbuya 942f9d2eeb nixos/flarum: add initialAdminPasswordFile and databasePasswordFile options 2026-07-20 14:39:23 +08:00
@mjones a8329d5235 nixos/tests/immichframe: increase resources (#543394) 2026-07-19 22:33:39 +00:00
Guillaume Girol 472e4428b5 croc: fix passthrough tests [10.4.6 -> 10.4.13] (#539964) 2026-07-19 20:56:30 +00:00
Jared Baur 2ef3a38500 nixosTests.optee: adjust ram and kernel offsets, explicitly load optee (#542934) 2026-07-19 19:22:24 +00:00
Morgan Jones 19e9caf207 nixos/tests/immichframe: increase resources
immich is quite demanding which leaves it out of reach if you have one
core (e.g. on a laptop, when my EPYC P core was fine).

Make the test look more like the test for immich.
2026-07-18 19:30:02 -07:00
@mjones 16f2831afc nixos/immichframe: harden and fix tests (#540256) 2026-07-19 01:44:48 +00:00
Morgan Jones 246189d433 nixos/tests/immichframe: add jfly as maintainer 2026-07-18 18:28:45 -07:00
Masum Reza fa271e35fc remove jmtpfs: Not receiving upstream updates (#526418) 2026-07-18 23:25:06 +00:00
Gaétan Lepage 1bc15ea43f cockpit: deal with data races in tests (#537531) 2026-07-18 18:53:37 +00:00
Sandro 34049c715e nixos/komodo-periphery: v2.0.0+ support (#482922) 2026-07-18 18:11:36 +00:00
nixpkgs-ci[bot] 1122cc12b9 Merge master into staging-nixos 2026-07-18 10:53:51 +00:00
Sefa Eyeoglu d46ba76c0f stardust-xr-*: <many> -> 0.51.1 & various improvements (#457027) 2026-07-18 08:34:56 +00:00
Hussain 0c265dd595 nixosTests.optee: adjust ram and kernel offsets, explicitly load optee kernel module 2026-07-17 08:35:03 -04:00
nixpkgs-ci[bot] 396c3ebf9b Merge master into staging-nixos 2026-07-16 18:26:31 +00:00
Martin Weinelt 55628e089a nixos/vnstat: add RFC-42 settings and NixOS test (#514050) 2026-07-16 13:47:45 +00:00
Henri Menke 4b1a16ac0b nixos/vnstat: add NixOS test 2026-07-16 15:42:23 +02:00
nixpkgs-ci[bot] 4ec8829e71 Merge master into staging-nixos 2026-07-16 12:35:12 +00:00
j-k e0ed2265c2 nixos/authelia: Make secrets available to the service even if not readable by the authelia user (#514097) 2026-07-16 11:15:09 +00:00
Johan Thomsen d8a4aa50cf coredns: 1.14.3 -> 1.14.6 2026-07-16 09:37:10 +02:00
nixpkgs-ci[bot] 0f6ef73cbe Merge master into staging-nixos 2026-07-16 06:51:24 +00:00
Sandro 4554587be6 rustfs: init at 1.0.0-beta.9 (#523840) 2026-07-16 01:12:10 +00:00
nixpkgs-ci[bot] 5537808c37 Merge master into staging-nixos 2026-07-16 00:31:37 +00:00
Michael Daniels d1f3fbb023 shadow: enable upstream system tests (#519044) 2026-07-15 22:14:45 +00:00
Marcel 81b44d8527 nixos/rustfs: init 2026-07-15 20:31:43 +02:00
nixpkgs-ci[bot] f7adbfb96b Merge master into staging-nixos 2026-07-15 18:26:56 +00:00
Eman Resu ee136a4a81 nixos/graphical-desktop: avoid writing empty Option values to 00-keyboard.conf (#540934) 2026-07-15 13:08:39 +00:00
Nicolas Mémeint 1df2a4c729 nixos/authelia: Make secrets available to the service even if not readable by the authelia user 2026-07-15 14:07:35 +02:00
Morgan Jones cb21f8f187 nixos/tests/immichframe: fix potential test failures 2026-07-14 20:37:04 -07:00
nixpkgs-ci[bot] 9590d3296f Merge master into staging-nixos 2026-07-15 00:28:01 +00:00
Maximilian Bosch 6fadb09232 nixos/matrix-authentication-service: use env var instead of %d (#540984) 2026-07-14 19:57:30 +00:00
Anish Pallati edddd2ed02 keycloak.plugins.keycloak-metrics-spi: drop
Signed-off-by: Anish Pallati <i@anish.land>
2026-07-14 12:47:59 -04:00
João Santos Reis 6d97e51b7c shadow: enable running upstream system test suite 2026-07-14 10:32:30 +01:00
João Santos Reis 963c03f40c shadow: move test configuration to a directory 2026-07-14 10:31:04 +01:00
nixpkgs-ci[bot] 9ae2429ac0 Merge master into staging-nixos 2026-07-14 00:30:20 +00:00
Nick Cao 2a8b63e8ff nixosTests.blint: migrateo to container runtime (#535091) 2026-07-13 20:54:55 +00:00
Nick Cao bbca9f3abb nixosTests.slipshow: migrate to container runtime (#535090) 2026-07-13 20:54:34 +00:00
José Romildo Malaquias 60a1ba7ceb nixos/nordvpn: init module (#538312) 2026-07-13 19:27:00 +00:00
dotlambda 5abc3c9594 nixos/tests/matter-server: use default python3Packages (#541226) 2026-07-13 18:39:46 +00:00