46429 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
Grimmauld e8893979ed nixos/{corefreq, auditd}: fix mkEnableOption description (#544621) 2026-07-22 17:50:41 +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
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
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
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
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
TheRealGramdalf 6bb5009ce8 nixos/caddy: increase UDP buffer size to match linked recommendation 2026-07-20 18:54:12 -07: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
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
BatteredBunny b88fa50389 nixos/tabbyapi: sync options with upstream
Assisted-by: Claude Code (Claude Opus 4.8)
2026-07-19 21:01:23 +03:00
Aaron Andersen 59842e9422 nixos/redmine: Drop pidfile (#542469) 2026-07-19 11:15:50 +00:00
provokateurin 6833a678b9 nixos/paperless: Use security.pki.caBundle to automatically accept self-signed certificates
Without this self-signed certificates used by authentication providers will not work.
2026-07-19 09:49:44 +02:00
@mjones 16f2831afc nixos/immichframe: harden and fix tests (#540256) 2026-07-19 01:44:48 +00:00
Felix Singer 97451cd267 nixos/redmine: Drop pidfile
There is no use for the pidfile. So drop it.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2026-07-19 03:08:32 +02:00
Arnout Engelen a8c83a5e85 prometheus-imap-mailstat-exporter: 0.0.1 to 0.7.1 (#539034) 2026-07-18 21:57:13 +00:00
Sandro 34049c715e nixos/komodo-periphery: v2.0.0+ support (#482922) 2026-07-18 18:11:36 +00:00
Sandro 7678b55dd7 brscan5: fix pkg and nixos module (#523273) 2026-07-18 17:08:55 +00:00
K900 66c9859c45 staging-nixos merge for 2026-07-18 (#543276) 2026-07-18 17:07:39 +00:00
Sandro 435a7114a4 nixos/traccar: fix shellcheck warning in preStart script (#539734) 2026-07-18 16:15:57 +00:00
nixpkgs-ci[bot] 911e567dda Merge master into staging-nixos 2026-07-18 12:20:09 +00:00
Aleksei Zolotov 5342f797d6 nixos/stalwart: Fix broken Stalwart documentation link in configuration 2026-07-18 13:08:37 +02:00
Gerhard Schwanzer e4d9d6766f nixos/xdg: enable fuse for desktop portals
xdg-document-portal mounts a FUSE filesystem and libfuse expects /run/wrappers/bin/fusermount3. Enable programs.fuse with the portal now that FUSE is no longer enabled globally.

Closes #542790

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
Suggested-by: Audrey Dutcher <audrey@rhelmot.io>
2026-07-18 11:08:29 +02:00