62296 Commits

Author SHA1 Message Date
Audrey Dutcher a515e75f6b nixos/xdg: enable fuse for desktop portals (#543168) 2026-07-24 05:03:17 +00:00
Martin Weinelt fe44f7c440 hyperscan: mark static build broken, replace pcre with pcre2; rspamd: pcre -> pcre2; 4.1.0 -> 4.1.2 (#544972) 2026-07-23 19:46:49 +00:00
Masum Reza 0f58d59d92 nixos/dms-greeter: added mango and miracle-wm as supported compositor… (#517703) 2026-07-23 19:32:17 +00:00
Martin Weinelt 3758224be3 rspamd: try migrating to pcre2 again
The crashes happened in 2022 and now we are yanking pcre1, so we need to
try.
2026-07-23 21:09:36 +02:00
Robert Hensing aa1345fd8a lib/services: fix reload/readiness bugs and add compliance coverage (#540857) 2026-07-23 16:49:52 +00:00
Sandro f27a38c33b nixos/paperless: Use security.pki.caBundle to automatically accept self-signed certificates (#541608) 2026-07-23 16:33:35 +00:00
Grimmauld 0ef381ed73 lightdm-enso-os-greeter: drop (#543492) 2026-07-23 14:40:37 +00:00
patka aa970620a5 lightdm-enso-os-greeter: drop 2026-07-23 14:53:56 +02:00
Matthieu Coudron 1043b7502f nixos/jellyfin: fix hevc10bit decoding toggle being silently ignored (#520045) 2026-07-23 12:26:40 +00:00
Rasmus Enevoldsen b98f9d8352 xdg-desktop-portal: remove NIX_XDG_DESKTOP_PORTAL_DIR patch
xdg-desktop-portal 1.20.1 added support for searching all
directories in XDG_DATA_DIRS for portals:
https://github.com/flatpak/xdg-desktop-portal/commit/bb37e260db3f91b93227cb559745468922ca29fd

This made the NIX_XDG_DESKTOP_PORTAL_DIR patch redundant, since
NixOS already ensures /run/current-system/sw/share is on
XDG_DATA_DIRS.

The patch also does not compose well: it hardcodes a single
portal directory, so when both NixOS and home-manager set it,
home-manager's value overwrote NixOS's, breaking portal
discovery for anything only registered by NixOS (e.g. Cosmic
alongside a home-manager-configured Hyprland).
2026-07-23 13:15:51 +02:00
Fernando Rodrigues e1d85e3a78 bat: fix escaping of shell settings values (#544606) 2026-07-23 01:23:38 +00:00
Martin Weinelt 9351f979e0 nixos/resolved: apply transformations to keys within resolved section (#535649) 2026-07-23 01:00:19 +00:00
Artturin 5c5192eacf nixos/i18n/input-method: disallow gtk{2,3}.dev in closure (#509330) 2026-07-22 21:09:52 +00:00
Thomas Gerbet 4b38070ce3 coredns: 1.14.3 -> 1.14.6 (#542492) 2026-07-22 20:44:57 +00:00
Grimmauld e8893979ed nixos/{corefreq, auditd}: fix mkEnableOption description (#544621) 2026-07-22 17:50:41 +00:00
Adam C. Stephens 305b075f17 nixos/containers: new registries.settings option, deprecate others (#358180) 2026-07-22 17:50:08 +00:00
TheRealGramdalf f993ce2ffd nixos/auditd: fix mkEnableOption description 2026-07-22 10:36:47 -07:00
TheRealGramdalf 42586aaeb2 nixos/corefreq: fix mkEnableOption description 2026-07-22 10:34:52 -07:00
Jan Tojnar d433491075 gnomeExtensions: bump 2026-07-19 (#543561) 2026-07-22 17:14:48 +00:00
Zernix2077 adc88786a1 bat: fix escaping of shell settings values 2026-07-22 19:28:22 +03:00
Minijackson 3b94d36d7d nixos/containers: new registries.settings option, deprecate others
Those options mapped to the deprecated V1 format,
and didn't allow using the newer format.

If any of the older options are used,
a warning is displayed,
and the generated registries.conf file follows the old V1 format.

For more information about the new format,
see https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md
2026-07-22 18:09:51 +02: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
Arne Keller fe84a78735 nixos/bees: add missing verbosity level 8 (#459862) 2026-07-22 11:01:22 +00:00
kirillrdy 95628463fa nixos/flarum: add initialAdminPasswordFile and databasePasswordFile options (#543724) 2026-07-21 22:42:38 +00:00
Maximilian Bosch 483f2db40a nixos/testing: allow meta.teams in tests, fix maintainer pings for tests (#540388) 2026-07-21 21:42:07 +00:00
Arne Keller 2b9908e88d tetrd: 1.0.4 -> 1.3.1-1, modify module (#478196) 2026-07-21 21:38:20 +00:00
Grimmauld 459da84c1a nixos/account-utils: support config file (#544316) 2026-07-21 20:56:41 +00:00
Grimmauld d42da8a083 nixos/account-utils: support config file 2026-07-21 21:22:14 +02:00
Felix Bühler 23d55b2809 nixos/bentopdf: map vhost via lib.mkDefault (#543983) 2026-07-21 18:47:39 +00:00
Nick Cao e4f115708c nixos/caddy: increase UDP buffer size to match linked recommendation (#544042) 2026-07-21 18:35:47 +00:00
Grimmauld 26426a9ad1 nixos/treewide: use security.pam.pam_unixModulePath everywhere (#535402) 2026-07-21 17:46:31 +00: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
j-k 2237b000c9 llama-swap: 224 -> 240; nixos/llama-swap: share model cache with llama-cpp (#541027) 2026-07-21 13:18:39 +00:00
Grimmauld 557ffb2ffa nixos/treewide: use security.pam.pam_unixModulePath 2026-07-21 14:57:21 +02:00
jaredmontoya 2ef1bb2b3e nixos/llama-swap: option to share model cache with nixos/llama-cpp module 2026-07-21 13:59:36 +02:00
Melody Kelly 221c593542 docs: fix formatting mistake 2026-07-21 18:18:11 +10:00
TheRealGramdalf 6bb5009ce8 nixos/caddy: increase UDP buffer size to match linked recommendation 2026-07-20 18:54:12 -07:00
Melody Kelly 76ea999e3c trilium-{desktop,server}: 0.103.0 -> 0.104.0
https://github.com/TriliumNext/Trilium/releases/tag/v0.104.0

Breaking changes:
- Backend scripting is now disabled by default
- SQL console access is disabled by default
- The Desktop application has been hardened against potential RCE attacks
- The desktop application now no longer opens its port on the local
  network by default
- OMPL v1 export was dropped from this release
2026-07-21 11:14:19 +10:00
Felix Buehler 4d709c3805 nixos/bentopdf: map vhost via lib.mkDefault 2026-07-20 23:43:11 +02:00
isabel b51d07438f nixos/errbot: Use systemd-tmpfiles instead of ExecPreStart to create directories (#497959) 2026-07-20 19:21:19 +00:00
isabel 31d0c58699 nixos/anubis: make all instances part of a system slice (#522265) 2026-07-20 19:18:46 +00:00
Thiago Kenji Okada 782014a659 nixos/opentabletdriver: Match OTD Upstream systemd environment checks (#543033) 2026-07-20 18:59:56 +00:00
Arne Keller 79da7dc90c nixos/vaultwarden: add example for .domain option (#515814) 2026-07-20 15:37:02 +00: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