Commit graph

7468 commits

Author SHA1 Message Date
Morgan Jones a4371c50b3
release-notes: add kismet and vwifi 2025-04-20 15:39:25 -07:00
Tristan Ross 9ddf5cb6f4
nixos/mattermost: correct file upload directory (#400221) 2025-04-20 15:19:05 -07:00
Emily 2f32b6190a Merge staging-next into staging 2025-04-20 22:42:20 +01:00
Ryan Hendrickson 317c972e8a
nixos/pam: conditional enabling of services (#399051) 2025-04-20 13:23:01 -04:00
Morgan Jones b462e671d3
release-notes: update Mattermost release notes 2025-04-19 18:44:17 -07:00
nixpkgs-ci[bot] 32a844bfb7
Merge staging-next into staging 2025-04-20 00:17:44 +00:00
Wolfgang Walther 7f76f39830
nixos/rush: init module (#398463) 2025-04-19 18:25:49 +00:00
João Nogueira 24ad63ef2a
nixos/rush: init module 2025-04-19 19:45:05 +02:00
nixpkgs-ci[bot] deb427c42b
Merge staging-next into staging 2025-04-18 18:05:33 +00:00
Thiago Kenji Okada 8716fb787b
nixos/doc/rl-25.05: fix typo 2025-04-18 13:12:47 +01:00
Luana 7fbf79c4ac nixos/cook-cli: init module 2025-04-18 09:00:40 -03:00
Thomas Gerbet 26fa0a5536 varnish: move to varnish77 2025-04-17 23:06:37 +02:00
nixpkgs-ci[bot] 2518f525a1
Merge staging-next into staging 2025-04-17 18:05:54 +00:00
Janne Heß 735e527e4d
openssh: 9.9p2 -> 10.0p2 (#397626) 2025-04-17 09:50:52 +02:00
Marie Ramlow 6262fecabf nixos/doc/rl-2505: document forgejo upgrades 2025-04-17 00:02:18 +02:00
nixpkgs-ci[bot] d8e0934a9d
Merge staging-next into staging 2025-04-16 18:05:39 +00:00
Gabe Venberg f7c0ca4a82 nixos/homepage-dashboard: Added release notes about breaking change. 2025-04-16 17:24:57 +02:00
Ryan Hendrickson 2ef165538a nixos/pam: conditional enabling of services 2025-04-15 23:19:42 -04:00
Morgan Jones 8ab77fa451
release-notes: doc OpenSSH 10.0 upgrade
See https://www.openwall.com/lists/oss-security/2025/04/09/6 for more
details about the discrepancy in ident and version information.
2025-04-15 01:23:43 -07:00
nixpkgs-ci[bot] 7ca09088ce
Merge staging-next into staging 2025-04-14 18:05:47 +00:00
K900 1311b95b23
doc/rl-2505: relnote Mesa changes (#398511) 2025-04-14 18:06:48 +03:00
nixpkgs-ci[bot] f5c30d4b43
Merge staging-next into staging 2025-04-14 12:07:02 +00:00
Leona Maroni 8e5a0fe6b4
paperless-ngx: 2.14.7 -> 2.15.1 (#397828) 2025-04-14 13:50:55 +02:00
phaer abed087403 manual: smaller fixes for nixos-rebuild build-image docs
* correct option type for `image.modules`
* fix grammar
* show actual output of the command to
2025-04-14 13:30:29 +02:00
phaer ca65b55350 manual: explain per-variant customizations for build-image 2025-04-14 11:49:24 +02:00
K900 e24925f2f1 doc/rl-2505: relnote Mesa changes 2025-04-14 10:55:17 +03:00
nixpkgs-ci[bot] bce6becc96
Merge staging-next into staging 2025-04-14 00:17:13 +00:00
Sandro e1cb306b28
gotenberg: 8.9.1 -> 8.16.0; update and fix module options (#379377) 2025-04-14 01:12:21 +02:00
nixpkgs-ci[bot] bd5d8282de
Merge staging-next into staging 2025-04-13 18:04:59 +00:00
Morgan Jones c514b5c012 androidenv: move release notes from NixOS to nixpkgs
These were committed in the wrong place, since they are more nixpkgs
docs.
2025-04-13 23:22:03 +05:30
K900 73a91e9c9d Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-13 09:07:29 +03:00
nixpkgs-ci[bot] bd8d4dc802
Merge master into staging-next 2025-04-13 00:41:08 +00:00
Martin Weinelt f362195287
nixos/doc: update python39Packages reference
The packages set is now gone and pytorch has been renamed to just torch.
2025-04-13 01:26:42 +02:00
dish 31aedcfbee
nixos/gotenberg: Add new settings for 8.10.0+ versions
Also fixes some issues that were reported.
2025-04-12 21:31:00 +02:00
nixpkgs-ci[bot] a78b3ccf56
Merge staging-next into staging 2025-04-12 12:06:06 +00:00
nixpkgs-ci[bot] de34ff9def
Merge master into staging-next 2025-04-12 12:05:35 +00:00
Robert Scott 5a2927d07f
cc-wrapper: add nostrictaliasing hardening flag support (#396541) 2025-04-12 13:01:11 +01:00
Seth Flynn d73c877f05
slskd: 0.22.2 -> 0.22.3 (#397571) 2025-04-12 06:49:00 -04:00
Seth Flynn cbbb90e0bb
conduwuit: mark as EOL, nixos/conduwuit: remove (#397902) 2025-04-12 06:02:34 -04:00
Niklas Korz d2fb99b640 nixos/conduwuit: remove
As the conduwuit project has been officially discontinued,
and the conduwuit NixOS module hasn't been around long enough
to appear in any stable NixOS release, we've removed it.
2025-04-11 22:30:09 +02:00
Niklas Korz 35de3d6754 conduwuit: mark as EOL
On April 11, 2025, the conduwuit project officially ceased development.
nixpkgs marks security-sensitive projects that have reached EOL as
vulnerable.
2025-04-11 22:25:28 +02:00
K900 aece6a0c1f Merge remote-tracking branch 'origin/master' into staging-next 2025-04-11 21:17:42 +03:00
Sandro Jäckel bcb64d6806
paperless-ngx: 2.14.7 -> 2.15.1
Changelog: https://github.com/paperless-ngx/paperless-ngx/releases/tag/v2.15.0
Changelog: https://github.com/paperless-ngx/paperless-ngx/releases/tag/v2.15.1
2025-04-11 17:43:04 +02:00
Sandro 1cb88030dd
nixos/whoami: init module (#397396) 2025-04-11 17:00:16 +02:00
nixpkgs-ci[bot] 049254d36c
Merge master into staging-next 2025-04-11 12:06:12 +00:00
nixpkgs-ci[bot] 5858ce00b1
Merge master into staging-next 2025-04-11 09:43:11 +00:00
Michael van Straten a890891acc nixos/godns: init module
Initial implementation of the GoDNS service module. This module allows users to enable and configure the GoDNS service on their NixOS system. It includes options for specifying the GoDNS package and the path to the configuration file.
2025-04-11 11:25:47 +02:00
Wolfgang Walther c76d239f14
nixos/postgres-websockets: init (#397408) 2025-04-11 07:47:10 +00:00
Seth Flynn eed8e360f5
slskd: 0.22.2 -> 0.22.3
Diff: https://github.com/slskd/slskd/compare/0.22.2...0.22.3

Changelog: https://github.com/slskd/slskd/releases/tag/0.22.3
2025-04-10 13:45:07 -04:00
Wolfgang Walther d62c14f5d1
nixos/postgres-websockets: init 2025-04-10 10:12:27 +02:00
nixpkgs-ci[bot] 51a06fbd76
Merge master into staging-next 2025-04-10 00:15:39 +00:00
RohanHart ff1a8591bc
aws-workspaces: 4.7.0.4312 -> 2024.8.5191 (#396863)
* aws-workspaces: 4.7.0.4312 -> 2024.8.5191

* aws-workspaces: 2024.8.5191 updated from jaredcrean

https://github.com/jaredcrean/nixpkgs/tree/aws-workspace-2024.8.5191

* aws-workspaces: 2024.8.5191 jbigkit PR was merged

https://github.com/NixOS/nixpkgs/pull/345659

* aws-workspaces: 2024.8.5191 refactor

Move dcvclient into libexec so that it's handled by wrapGAppsHook4.
GSchema is packaged, look in the correct location.
Use standard .deb unpack support.

* aws-workspaces: 2024.8.5191 repackage as FHS

* aws-workspaces: 2024.8.5191 added breaking change to release notes

---------

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
Co-authored-by: 100001 <github.ixda@8shield.net>
Co-authored-by: Rohan <rohan@coinzoom.com>
2025-04-09 20:53:06 +02:00
nixpkgs-ci[bot] b66e31c26a
Merge master into staging-next 2025-04-09 16:04:15 +00:00
Defelo 3ae07e6d12
nixos/whoami: init module 2025-04-09 16:51:04 +02:00
Adam C. Stephens f2200ca6ee
nixos/anubis: init module (#392018) 2025-04-09 09:23:35 -04:00
K900 c41ad742f6 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-09 15:31:47 +03:00
Leona Maroni f2ebbabda0
discourse: 3.3.2 -> 3.4.2
https://meta.discourse.org/t/3-3-3-security-and-maintenance-release/343239
https://meta.discourse.org/t/3-3-4-security-and-maintenance-release/349301
https://blog.discourse.org/2025/02/unpacking-discourse-3-4/
https://meta.discourse.org/t/3-4-1-bug-fix-and-ux-release/353247
https://meta.discourse.org/t/3-4-2-security-and-bug-fix-release/358152
2025-04-08 22:56:45 +02:00
nanoyaki b10f83f2d8 nixos/lavalink: add release note 2025-04-08 20:40:21 +02:00
nixpkgs-ci[bot] a72dfbca8f
Merge master into staging-next 2025-04-08 18:04:25 +00:00
Seth Flynn 43f7128bbe
nixos/reposilite: init module (#381197) 2025-04-08 11:07:36 -04:00
K900 b3146d4446 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 21:21:10 +03:00
Tristan Ross 77f77a046a
mattermost: 9.11.11 -> 10.5.2; use formats.json; squash systemd-tmpfiles warning (#376838) 2025-04-07 10:27:15 -07:00
Johannes Kirschbauer 0196e5372b
lib/modules: Init lib.mkDefinition (#390983) 2025-04-07 14:52:48 +02:00
Morgan Jones 423caa2d13
mattermost: 9.11.11 -> 10.5.2 2025-04-06 18:00:12 -07:00
Robert Scott 781b42b87d cc-wrapper: add nostrictaliasing hardening flag support
this equates to -fno-strict-aliasing

this is not a particularly new flag and is supported by all our
gcc and clang versions.

add to pkgsExtraHardening's defaultHardeningFlags.
2025-04-06 12:52:47 +01:00
K900 05bc93a58a Merge remote-tracking branch 'origin/master' into staging-next 2025-04-06 11:20:16 +03:00
6543 cac3bdab21
nixos/services.mysql: add galera cluster options (#388978)
And add release notes for new option.

Co-authored-by: Arne Keller <arne.keller@posteo.de>
2025-04-06 00:26:06 +02:00
Cassie Cheung cadf4cfc83
nixos/anubis: init module 2025-04-05 21:48:39 +08:00
K900 79542ad7f3 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-04 21:11:09 +03:00
uku dfaad22261
nixos/reposilite: init module 2025-04-04 09:46:24 +02:00
Johannes Kirschbauer 33daa3f4b9
lib.modules: init test for lib.mkDefinition 2025-04-03 15:03:00 +02:00
Johannes Kirschbauer c906064af1
lib.modules: document mkDefinition section 2025-04-03 14:12:08 +02:00
Gutyina Gergő 01be6580d3
nixos/pocket-id: init
Co-authored-by: ymstnt <21342713+YMSTNT@users.noreply.github.com>
2025-04-03 09:26:57 +02:00
nixpkgs-ci[bot] d05ee1c1cb
Merge staging-next into staging 2025-04-02 16:38:11 +00:00
Silvan Mosberger e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
Felix Zieger 1bf74aee3c nixos/haven: init 2025-04-02 17:30:18 +02:00
misuzu 0f4487251d
strfry: init at 1.0.4, nixos/strfry: init (#385587) 2025-04-02 10:13:41 +03:00
Felix Zieger dfd82bf3e5 nixos/strfry: init 2025-04-01 23:20:15 +02:00
Pol Dellaiera 25264d105d nixos/docling-serve: init 2025-04-01 21:42:53 +02:00
K900 30edc74585 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 21:12:38 +03:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Franz Pletz 82f0c74912
nixos/zoxide: init module (#393493) 2025-04-01 18:01:32 +02:00
K900 6408946263 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 16:56:46 +03:00
Maximilian Bosch f20b220e17
Merge: nixos/nextcloud: add maintainer team, update docs about maintainership of apps (#393069) 2025-04-01 11:25:28 +02:00
Adrien Faure 63455f1a21 docs: add separate Nixpkgs release notes
the initial change was already made ad hoc in 10a75ab, in response to the recently introduced enforced redirects mapping that is supposed to keep stable URLs.

due to the redirect mechanism's current limitation to locations within
the same site (that is, either the Nixpkgs xor the NixOS manual), and
the observation that noteworthy Nixpkgs changes tend to be
self-contained, it seemed reasonable to introduce a seperate release
notes document. it also has the advantage that users of only Nixpkgs
don't have to deal with release notes that are only relevant for NixOS.

the original change was already lossless for NixOS users, since the
Nixpkgs release notes are appended to the NixOS release notes.

this change moves the pre-existing Nixpkgs notes to the new dedicated page.

Co-authored-by: Gagarin Valentin Gagarin <valentin@gagarin.work>
2025-04-01 07:52:19 +01:00
K900 a6d5666400 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 08:39:50 +03:00
Arne Keller ee6d7cb213
nitter: 0-unstable-2024-02-26 -> 0-unstable-2025-02-25; nixos/nitter: rename guestAccounts to sessionsFile (#393028) 2025-03-31 17:16:30 +02:00
nixpkgs-ci[bot] 86e22e1e80
Merge staging-next into staging 2025-03-31 12:06:34 +00:00
Philip Wilk 3dd5d8606a
nixos/hddfancontrol: use attrset for config
Enables use of multiple instances, eg; multiple drive bays.
2025-03-31 12:48:05 +01:00
Pratham Patel 2a7180b3db nixos/release-notes: add release notes for COSMIC modules 2025-03-31 15:28:55 +05:30
Wolfgang Walther 899c3986e7
nixos/postgrest: init module (#394041) 2025-03-31 07:20:43 +00:00
nixpkgs-ci[bot] 34600d0052
Merge staging-next into staging 2025-03-31 00:17:08 +00:00
Maximilian Bosch 97d215cf17
Merge: php: 8.3 -> 8.4 (#394112) 2025-03-30 22:54:31 +02:00
Wolfgang Walther 064432a519
nixos/postgrest: init module 2025-03-30 14:24:16 +02:00
nixpkgs-ci[bot] ed9f389a51
Merge staging-next into staging 2025-03-30 12:06:19 +00:00
Daniel Xu f1c4d339a5 nixos/wordpress: Use https by default for caddy
Previously, `http://` scheme was hard coded into the caddy config if
`webserver = "caddy"` was chosen. This is fine for local testing, but is
problematic if you want your nixos host to be public facing.

In the public facing case, you generally want to be using TLS. But since
the wordpress module generates the caddyfile rule, the user's nixos
config cannot easily change it to also allow https.

An alternative would be to reverse proxy an https rule to the generated
http rule, but that's somewhat questionable as there's not an internal
http endpoint to proxy to. It might be possible but I couldn't figure
it out.

So simplify by omitting the scheme. This causes caddy to use https by
default and 301 redirect any http requests to the https endpoint. Caddy
will just do the right thing if it's being hosted on a local/internal
hostname (self sign certificates).

This should be backwards compatible with previous default if users are
using reasonable browsers/tools.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
2025-03-29 15:10:35 -06:00
K900 92e17913a7 Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-29 21:07:19 +03:00
Morgan Jones 9569ad4b57 release-notes: add androidenv details to rl-2505 2025-03-29 22:13:03 +05:30
nixpkgs-ci[bot] 02e075f1a7
Merge staging-next into staging 2025-03-29 12:06:10 +00:00
K900 4b2bc4c4d7
nixos/k3b: remove, refer users to k3b 24.08 (Qt 6) (#351093) 2025-03-29 14:12:02 +03:00
K900 b5be581efe Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-29 09:07:13 +03:00
Ryan Hendrickson 800863744b
nixos/geoclue2: add options for static source (#392257) 2025-03-28 21:10:22 -04:00
nixpkgs-ci[bot] 8c63a3f00d
Merge staging-next into staging 2025-03-29 00:15:41 +00:00
Maximilian Bosch d783555924
php: 8.3 -> 8.4
The default PHP is now the latest version of the interpreter available.
2025-03-28 22:13:39 +01:00
Izel Nakri d69fa4d3fb nixos/bitbox-bridge: init
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-29 00:49:47 +05:30
nixpkgs-ci[bot] 66681a870f
Merge staging-next into staging 2025-03-28 18:06:07 +00:00
JuliusFreudenberger 9a48443997 nixos/rl-2505: update of teleport default version 2025-03-28 22:40:23 +05:30
Maximilian Bosch 21954cf09b
nextcloud-news-updater: remove, unmaintained 2025-03-28 17:32:41 +01:00
nixpkgs-ci[bot] 3f8948732b
Merge staging-next into staging 2025-03-27 18:05:35 +00:00
Wolfgang Walther 9992c0fd4d
doc/option-types: fix attrTag example
Further down, `ssh = { drop = {}; };` is used.
2025-03-27 14:22:53 +01:00
heisfer 825381d5ed nixos/zoxide: init module 2025-03-26 22:08:23 +02:00
nixpkgs-ci[bot] 759b761b0d
Merge staging-next into staging 2025-03-26 18:05:48 +00:00
Jonas Heinrich 5325034183
froide-govplan: init at 0-unstable-2025-01-27 (#349750) 2025-03-26 14:27:02 +01:00
Johannes Kirschbauer 5e74a74444
lib.packagesFromDirectoryRecursive: use explicit recursion, support nested scopes (#392800) 2025-03-26 13:28:56 +01:00
nixpkgs-ci[bot] 5e06b173b0
Merge staging-next into staging 2025-03-26 12:06:44 +00:00
nicoo 6b7576b0cf lib.packagesFromDirectoryRecursive: use explicit recursion, support nested scopes 2025-03-26 12:11:43 +01:00
Arne Keller 98430f956c
pinchflat: init at 2025.3.17, nixos/pinchflat: init (#364135) 2025-03-26 11:06:02 +01:00
nixpkgs-ci[bot] dc5152a1d3
Merge staging-next into staging 2025-03-26 00:15:56 +00:00
maryjane a6f14a6036 nixos/doc: Fix outdated references in the NixOS manual 2025-03-25 19:51:54 +00:00
K900 aca918e668 Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-25 21:06:52 +03:00
Arne Keller 657dd8d7cd
nixos/ipfs-cluster: init (#292290) 2025-03-25 18:53:02 +01:00
Nathan Fish 950324a23e nixos/ipfs-cluster: init
Co-authored-by: Sorki <srk@48.io>
2025-03-25 16:34:16 +01:00
Wolfgang Walther 7277ebc2f9
Reapply "nixos/postgresql: add docs about procedural languages"
This reverts commit a4006e4970.
2025-03-25 15:00:50 +01:00
Wolfgang Walther a4006e4970
Revert "nixos/postgresql: add docs about procedural languages"
This reverts commit 0bc099abd6.
2025-03-25 14:58:02 +01:00
Maximilian Bosch dad0bf139b
Merge: nixos/postgresql: add docs about procedural languages (#392399) 2025-03-25 13:00:09 +00:00
nixpkgs-ci[bot] 935906364c
Merge staging-next into staging 2025-03-25 12:06:47 +00:00
uku b6ba4a499c
nixos/nitter: rename guestAccounts to sessionsFile
for consistency with upstream, see
6fcd849eff
2025-03-25 10:48:27 +01:00
misuzu f630533b4a
nixos/xpad-noone: init (#389752) 2025-03-25 11:29:52 +02:00
Ryan Hendrickson 4c2f564ef0 nixos/geoclue2: add options for static source 2025-03-24 19:15:47 -04:00
Pavol Rusnak 2925f716f8
rocmPackages: 6.0.2 -> 6.3.3, and various ROCm build fixes and new packages (#367695) 2025-03-24 21:11:47 +01:00
Luna Nova 4d2c7ad003
rocmPackages: 6.0.2 -> 6.3.1
Includes patch suggested by @shuni64 which fixes half precision ABI
issues
Includes hipblaslt compression patch
Includes configurable hipblaslt support in rocblas
rocmPackages_6.hipblaslt: respect NIX_BUILD_CORES in tensilelite
rocmPackages_6.hipblas: propagate hipblas-common
rocmPackages_6.clr: avoid confusion with hipClangPath

Co-authored-by: Gavin Zhao <git@gzgz.dev>
2025-03-24 09:25:56 -07:00
nixpkgs-ci[bot] d5f30d9d8a
Merge staging-next into staging 2025-03-24 12:07:10 +00:00
Jonas Heinrich 82a382ed09
nixos/keycloak: add realmFiles option (#273833) 2025-03-24 09:35:04 +01:00
nixpkgs-ci[bot] f0313503cd
Merge staging-next into staging 2025-03-23 18:04:46 +00:00
Jonas Heinrich 4a8b7bb45d nixos/froide-govplan: init 2025-03-23 18:05:54 +01:00
Wolfgang Walther 0bc099abd6
nixos/postgresql: add docs about procedural languages 2025-03-23 15:07:43 +01:00
nixpkgs-ci[bot] ce179bc524
Merge staging-next into staging 2025-03-23 12:06:09 +00:00
Pablo Ovelleiro Corral 796556ce8d Add release notes 2025-03-23 12:51:58 +01:00
Acid Bong 67e9d0ab57
nixos/release-notes: point nixos-rebuild build-image to the right manual (#392306) 2025-03-23 14:45:35 +05:30
Joel Koen e51ab12e17
nixos/geoclue2: set default location service to beaconDB 2025-03-21 22:43:25 +10:00
nixpkgs-ci[bot] 529326e679
Merge staging-next into staging 2025-03-21 12:06:31 +00:00
nixpkgs-ci[bot] 8fa05d5ca4
Merge master into staging-next 2025-03-21 12:05:59 +00:00
Arian van Putten b684e9c6d6
fluent-bit: link against Nix dependencies, fix Darwin builds, and add NixOS module (#365493) 2025-03-21 11:39:18 +00:00
Maximilian Bosch a1dfaf51e2
nixos/test-driver: integrate Python unittest assertions
Replaces / Closes #345948

I tried to integrate `pytest` assertions because I like the reporting,
but I only managed to get the very basic thing and even that was messing
around a lot with its internals.

The approach in #345948 shifts too much maintenance effort to us, so
it's not really desirable either.

After discussing with Benoit on Ocean Sprint about this, we decided that
it's probably the best compromise to integrate `unittest`: it also
provides good diffs when needed, but the downside is that existing tests
don't benefit from it.

This patch essentially does the following things:

* Add a new global `t` that is an instance of a `unittest.TestCase`
  class. I decided to just go for `t` given that e.g.
  `tester.assertEqual` (or any other longer name) seems quite verbose.

* Use a special class for errors that get special treatment:
  * The traceback is minimized to only include frames from the
    testScript: in this case I don't really care about anything else and
    IMHO that's just visual noise.

    This is not the case for other exceptions since these may indicate a
    bug and then people should be able to send the full traceback to the
    maintainers.
  * Display the error, but with `!!!` as prefix to make sure it's
    easier to spot in between other logs.

This looks e.g. like

    !!! Traceback (most recent call last):
    !!!   File "<string>", line 7, in <module>
    !!!     foo()
    !!!   File "<string>", line 5, in foo
    !!!     t.assertEqual({"foo":[1,2,{"foo":"bar"}]},{"foo":[1,2,{"bar":"foo"}],"bar":[1,2,3,4,"foo"]})
    !!!
    !!! NixOSAssertionError: {'foo': [1, 2, {'foo': 'bar'}]} != {'foo': [1, 2, {'bar': 'foo'}], 'bar': [1, 2, 3, 4, 'foo']}
    !!! - {'foo': [1, 2, {'foo': 'bar'}]}
    !!! + {'bar': [1, 2, 3, 4, 'foo'], 'foo': [1, 2, {'bar': 'foo'}]}
    cleanup
    kill machine (pid 9)
    qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/wz0j2zi02rvnjiz37nn28h3gfdq61svz-python3-3.12.9/bin/python3.12)
    kill vlan (pid 7)
    (finished: cleanup, in 0.00 seconds)

Co-authored-by: bew <bew@users.noreply.github.com>
2025-03-20 12:30:58 +00:00
Robert Rose cd10f9a874 nixos/keycloak: add realmFiles option
Add an option to import Keycloak realms during
startup from exported realm files.
2025-03-20 12:07:38 +01:00
K900 85b2817da5 Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-20 13:14:18 +03:00
K900 6a900ee562 Merge remote-tracking branch 'origin/master' into staging-next 2025-03-20 09:08:18 +03:00
nixpkgs-ci[bot] 47fbdfd4fc
Merge staging-next into staging 2025-03-20 00:16:05 +00:00
nixpkgs-ci[bot] 4733649a15
Merge master into staging-next 2025-03-20 00:15:20 +00:00
Jeremy Fleischman 9c02a1e422
services/cloudflare-dyndns: require that apiTokenFile be an api token
Previously, this option was supposed to be a file of the form
`CLOUDFLARE_API_TOKEN=...`, which has a few problems:

- That's not an api token. It's an env file fit for passing to systemd's
  `EnvironmentFile` option. The user could typo the variable name, or
  intentionally/unintentionally include unrelated environment variables.
- It's not how secret files usually work in NixOS. Secret files are
  usually just the secret, and don't leak details about how the secret
  is passed to the service.
- This increases friction for people switching between cloudflare dyndns
  services, such as `services.cloudflare-dyndns` and
  `services.cfdyndns`, which both have a `apiToken` option, but (before
  this change) with different semantics.
2025-03-19 18:19:29 -05:00
commiterate 3366b27e59 fluent-bit: link against Nix dependencies, fix Darwin builds, and add NixOS module 2025-03-19 18:48:46 -04:00
Felix Bühler 30358ab7a7
formats.lua: init; types.luaInline: init (#390120) 2025-03-19 23:18:05 +01:00
Matt Sturgeon 2611d5bd70
formats.lua: init
Add a lua format, based on `lib.generators.toLua`.
2025-03-19 21:18:49 +00:00
nixpkgs-ci[bot] 3a7baab73a
Merge staging-next into staging 2025-03-19 18:05:59 +00:00
nixpkgs-ci[bot] 9a9855f387
Merge master into staging-next 2025-03-19 18:05:30 +00:00
Adam C. Stephens 476618066b
nixos/firezone: init module and packages (#374647) 2025-03-19 13:50:47 -04:00
nixpkgs-ci[bot] cd31c04e18
Merge staging-next into staging 2025-03-19 00:15:59 +00:00
nixpkgs-ci[bot] 1d4e3667f7
Merge master into staging-next 2025-03-19 00:15:26 +00:00
Will Fancher 720efefbc0
Revert "nixos/doc: recommend usage of --use-remote-sudo when switching configurations" (#390935) 2025-03-18 15:54:33 -04:00
nixpkgs-ci[bot] e8240407b0
Merge staging-next into staging 2025-03-18 18:05:35 +00:00
nixpkgs-ci[bot] 0bb96173bd
Merge master into staging-next 2025-03-18 18:05:06 +00:00
Nicolas Mémeint 7407020674 authelia: 4.38.19 -> 4.39.1 2025-03-18 18:23:43 +01:00
Fernando Rodrigues c7f394d214
Revert "nixos/doc: recommend usage of --use-remote-sudo when switching configurations" 2025-03-18 11:34:07 +00:00
charludo 3e3b774732
nixos/pinchflat: init 2025-03-18 12:24:01 +01:00
Neyts Zupan 75773b77be paretosecurity: init at 0.0.86, nixos/paretosecurity: init 2025-03-18 11:09:14 +00:00
oddlama 6c888f4911
nixos/firezone: init modules 2025-03-17 20:21:00 +01:00
nixpkgs-ci[bot] dcc32e006f
Merge staging-next into staging 2025-03-17 18:05:40 +00:00
nixpkgs-ci[bot] f2e2b1814d
Merge master into staging-next 2025-03-17 18:05:11 +00:00
Sandro b96c9e3a68
gokapi: init at 1.9.6 (#372911) 2025-03-17 16:12:38 +01:00
nixpkgs-ci[bot] 75c8678243
Merge staging-next into staging 2025-03-17 00:16:57 +00:00
nixpkgs-ci[bot] 4761072df5
Merge master into staging-next 2025-03-17 00:16:22 +00:00
Arne Keller a7125fb4f6
confluent-cli: 3.60.0 -> 4.16.0 (#376796) 2025-03-16 23:11:31 +01:00
Pol Dellaiera c8a823d40b nixos/litellm: init 2025-03-16 20:49:22 +01:00
Pol Dellaiera 79e95661a6
orthanc: init at 1.12.6, nixos/orthanc: init (#385329) 2025-03-16 20:47:37 +01:00
Cryolitia PukNgae c33e419dd1
nixos/xpad-noone: init 2025-03-17 03:44:58 +08:00
nixpkgs-ci[bot] 76fed55d6a
Merge staging-next into staging 2025-03-16 18:04:41 +00:00
nixpkgs-ci[bot] dbe56e9776
Merge master into staging-next 2025-03-16 18:04:12 +00:00
Arne Keller d7a2a10a40
graylog-5_1: remove (#358780) 2025-03-16 15:45:23 +01:00
Darragh Elliott 46666bba62 gokapi: add module, test, release docs
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2025-03-16 14:41:28 +00:00
Philip Taron f4dd3ba6e0
systemd: make systemd-ssh-generator work (#372979) 2025-03-15 21:59:59 -07:00
Pol Dellaiera 933f835219 nixos/orthanc: init 2025-03-15 22:45:44 +01:00
Marie Ramlow a0962df902 doc/rl-2505: document systemd-ssh-generator changes 2025-03-15 20:15:44 +01:00
nixpkgs-ci[bot] 890b967419
Merge master into staging-next 2025-03-15 12:05:14 +00:00
Matt Sturgeon c347d605c9
lib.types: add luaInline
Represents inline lua as expected by `lib.generators.toLua`, for
embedding raw lua expressions within structurally generated lua.
2025-03-15 10:29:28 +00:00
Marcus Ramberg d07ebbab9b
nixos/k3s: add autoDeployCharts option and use systemd-tmpfiles for content activation (#374017) 2025-03-15 11:26:43 +01:00
nixpkgs-ci[bot] e24f567a68
Merge master into staging-next 2025-03-15 09:53:30 +00:00
Benjamin Sparks f752f7d5d2 nixos/release-notes: uswgi does not support Python 2 plugins 2025-03-15 00:26:02 +01:00
K900 7d36ee97e6 Merge remote-tracking branch 'origin/master' into staging-next 2025-03-14 09:56:27 +03:00
Lin Jian 2a66b0320c
doc/rl-2505: mention Emacs bump and removal (#386596) 2025-03-13 21:10:43 +08:00
Lin Jian d86f1165e2
Reapply "emacs: enable __structuredAttrs by default in elisp build he… (#389276) 2025-03-13 20:59:06 +08:00
Gaétan Lepage 9e889113ef
bundler: 2.5.22 -> 2.6.2 (#377415) 2025-03-13 10:35:46 +01:00
GiggleSquid 461be7d8c8
nixos/searx: add configuration for favicons settings
see searxng docs: https://docs.searxng.org/admin/searx.favicons.html
2025-03-13 03:58:21 +00:00
Felix Singer dae9d1fa3a libjaylink: Grant read-write access to members of jlink group
It's unusual to use the plugdev group in NixOS. So instead, give access
to users in the jlink group. It does not conflict with the uaccess tag,
which grants access to seat sessions.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-03-12 18:42:28 +01:00
Michele Guerini Rocco 432ceba835
Re-add xf86videointel driver (#388224) 2025-03-12 16:40:33 +01:00
Sandro Jäckel 1eecf7cc06
haka: remove 2025-03-12 16:04:54 +01:00
rnhmjoj c8d0a944f5
nixos/release-notes: mention new startx options 2025-03-12 13:48:58 +01:00
rnhmjoj 9fa4353685
nixos/doc: fixup startx chapter 2025-03-12 13:03:23 +01:00
Lin Jian 3ee5cb7266
Reapply "emacs: enable __structuredAttrs by default in elisp build helpers"
This reverts commit e9dab0cc20.

The fix[1] has been merged into staging, so we can enable
__structuredAttrs again.

[1]: https://github.com/NixOS/nixpkgs/pull/388908
2025-03-12 14:22:40 +08:00
Pol Dellaiera c39e50acb0
nixos/limine: init module (#386368) 2025-03-11 14:09:50 +01:00
rnhmjoj f876c38505 nixos/doc: document how to use startx 2025-03-11 11:05:24 +01:00