Commit graph

54790 commits

Author SHA1 Message Date
K900 cdec2bc383
staging-nixos merge for 2025-10-20 (#453748) 2025-10-20 07:13:09 +00:00
K900 6158d9170f
nixos: tests: kernelGeneric: Fix testsForKernel when accessed outside nixosTests (#453651) 2025-10-20 06:39:17 +00:00
nixpkgs-ci[bot] 4041ba5e29
Merge master into staging-nixos 2025-10-20 06:08:12 +00:00
h7x4 8414b2a6e0
nixos/users-groups: use submodule config in hashedPasswordFile.default (#432944) 2025-10-20 04:53:13 +00:00
nixpkgs-ci[bot] 510ac96a9e
Merge master into staging-nixos 2025-10-20 00:19:33 +00:00
Elliot Berman 147f928da3
nixos: tests: kernelGeneric: Fix testsForKernel when accessed outside nixosTests
Use patchedPkgs.linuxPackagesFor to ensure the hello-world extension is
applied to a kernel passed from, for example,
linuxKernel.kernels.linux_6_12.tests.testsForKernel

Also add a comment about why we can't use nixpkgs.overlays in this
particular test.

Fixes: fa533ecbdf ("nixos: tests: kernel-generic: Add kernelPackagesExtensions test")
2025-10-19 16:52:46 -07:00
Martin Weinelt f84d942b3b
wyoming-openwakeword: 1.10.0 -> 2.0.0 (#452714) 2025-10-19 22:25:23 +00:00
Martin Weinelt 5f7f58ff8a
wyoming-openwakeword: 1.10.0 -> 2.0.0
https://github.com/rhasspy/wyoming-openwakeword/blob/v2.0.0/CHANGELOG.md
2025-10-20 00:20:55 +02:00
sweenu 16041e56cc
nixos/immich: fix sql command on inexistant table 2025-10-19 22:24:39 +02:00
nixpkgs-ci[bot] 3737386f82
Merge master into staging-nixos 2025-10-19 18:07:04 +00:00
h7x4 f47e715aaa
OpenVPN: tidy systemd restart-after-sleep unit (#450653) 2025-10-19 15:34:58 +00:00
Adam Dinwoodie 0794eb223b nixos/openvpn: tidy systemd restart-after-sleep unit
On reviewing my PR #345993, I spotted I'd failed to remove a
now-unneeded package and failed to update the systemd unit description,
so tidy that up.
2025-10-19 16:16:48 +01:00
h7x4 2b959b6066
nixos/nats: Shut down gracefully, and prevent automatic restart on deliberate stop (#448023) 2025-10-19 12:39:41 +00:00
Masum Reza 5ec10ce58f
nixos/scx: support temporarily overriding scheduler (#453196) 2025-10-19 12:10:37 +00:00
nixpkgs-ci[bot] b811a8be13
Merge master into staging-nixos 2025-10-19 12:08:01 +00:00
Charles Duffy 889b866c82
nixos/nats: Shut down gracefully, and prevent automatic restart on deliberate stop
SIGUSR2 puts nats-server into "lame-duck mode", where the node hands off leader roles and hands clients off to other nodes.
2025-10-19 06:55:48 -05:00
Wolfgang Walther 120aaed506
nixos/tests/hoogle: init (#453019) 2025-10-19 10:51:36 +00:00
Bobby Rong cbf2a5691b
vscode: 1.105.0 -> 1.105.1 (#453313) 2025-10-19 10:31:12 +00:00
Bobby Rong 039351fe4b
nixosTests.vscode-remote-ssh: Mark as broken
Failing on Hydra since 2025-03.
2025-10-19 18:23:51 +08:00
Franz Pletz 886334a39f
prometheus: 3.6.0 → 3.7.1 (#453336) 2025-10-19 08:32:50 +00:00
nixpkgs-ci[bot] 69e6e196e5
Merge master into staging-nixos 2025-10-18 23:13:38 +00:00
Jonathan Davies 79c9b6c5fd
nixos/prometheus: tests: Add basic Selenium test for UI 2025-10-18 22:58:19 +01:00
Luke Granger-Brown df240560c4
nixos/factorio: add extraArgs option (#446440) 2025-10-18 21:53:32 +00:00
nixpkgs-ci[bot] bd01b22144
Merge master into staging-nixos 2025-10-18 12:07:23 +00:00
eljamm 6316b883f1 nixos/scx: support temporarily overriding scheduler
One of the nicest perks of using scx is the ability to easily switch
between schedulers at run-time, but this is currently not possible in
NixOS, given that the scx service only uses the scheduler from the
config file.

It's possible, however, to override the scheduler and its flags using
the `SCX_SCHEDULER_OVERRIDE` and `SCX_FLAGS_OVERRIDE` environment
variables, respectively (see [more
details](https://en.opensuse.org/Pluggable_CPU_schedulers#Temporarily_switch_to_a_different_scheduler)).

So the solution here is to change the scx service executable and pass
those env vars to the service at run-time falling back to the values
from the module config as defaults.

After this change, it would be possible to override schedulers like so:

```shellSession
$ sudo systemctl set-environment SCX_SCHEDULER_OVERRIDE='scx_lavd'
$ sudo systemctl set-environment SCX_FLAGS_OVERRIDE='--performance'
$ sudo systemctl restart scx.service
```
```shellSession
$ journalctl -u scx.service -b 0 -e
Oct 18 13:09:25 nixos systemd[1]: Started SCX scheduler daemon.
Oct 18 13:09:25 nixos bash[1829848]: 13:09:25 [INFO] Performance mode is
enabled.
Oct 18 13:09:25 nixos bash[1829848]: 13:09:25 [INFO] Energy model won't
be used for CPU preference order.
Oct 18 13:09:26 nixos bash[1829848]: 13:09:26 [WARN] libbpf: map
'lavd_ops': BPF map skeleton link is uninitialized
Oct 18 13:09:26 nixos bash[1829848]: 13:09:26 [INFO] scx_lavd scheduler
is initialized (build ID: 1.0.16 x86_64-unknown-linux-gnu)
Oct 18 13:09:26 nixos bash[1829848]: 13:09:26 [INFO] scx_lavd scheduler
starts running.
```

And also restore to the module defaults:

```shellSession
$ sudo systemctl unset-environment SCX_SCHEDULER_OVERRIDE
$ sudo systemctl unset-environment SCX_FLAGS_OVERRIDE
$ sudo systemctl restart scx.service
```
```shellSession
$ journalctl -u scx.service -b 0 -e
Oct 18 13:12:56 nixos systemd[1]: Stopped SCX scheduler daemon.
Oct 18 13:12:56 nixos systemd[1]: Started SCX scheduler daemon.
Oct 18 13:12:56 nixos bash[1833220]: 13:12:56 [INFO] NUMA nodes: 1
Oct 18 13:12:56 nixos bash[1833220]: 13:12:56 [INFO] Disabling NUMA
optimizations
Oct 18 13:12:56 nixos bash[1833220]: 13:12:56 [INFO] scx_bpfland 1.0.16
x86_64-unknown-linux-gnu SMT on
```
2025-10-18 13:22:49 +02:00
dotlambda 070cc2146c
nixos/immich: Trim trailing newline from secretSettings file contents (#453162) 2025-10-18 10:34:57 +00:00
nixpkgs-ci[bot] 6d43b2dfd7
Merge master into staging-nixos 2025-10-18 09:13:39 +00:00
K900 9b44e205b3 nixos/kdeconnect: fix eval 2025-10-18 12:01:19 +03:00
Nicolas Mémeint 7dc3d46155 nixos/immich: Trim trailing newline from secretSettings file contents 2025-10-18 10:39:41 +02:00
nixpkgs-ci[bot] a2e720c5ba
Merge master into staging-nixos 2025-10-18 06:06:51 +00:00
h7x4 2b960c563e
nixos/avahi: add debug option (#448254) 2025-10-18 05:30:15 +00:00
h7x4 75d08a1a86
nixos/vnstat: allow overriding package (#448922) 2025-10-18 05:17:03 +00:00
h7x4 ce852df7a7
nixos/kdeconnect: nullable package (#434272) 2025-10-18 04:56:16 +00:00
nixpkgs-ci[bot] ff7c264dc2
Merge master into staging-nixos 2025-10-18 00:16:56 +00:00
nikstur cb06ec22ee
userborn: do not use mkForce to disable activationScripts (#452739) 2025-10-17 21:10:36 +00:00
h7x4 95ad093e5c
services.bind: Run named-checkconf on config file (#389406) 2025-10-17 20:04:51 +00:00
Maximilian Bosch 3a23473779
simplesamlphp: remove (#452965) 2025-10-17 19:45:03 +00:00
h7x4 5f36e60ee8
nixos/tests/hoogle: init 2025-10-18 04:18:33 +09:00
nixpkgs-ci[bot] 964806b9e5
Merge master into staging-nixos 2025-10-17 18:06:43 +00:00
Maximilian Bosch 76b41b119e
simplesamlphp: remove
See https://github.com/NixOS/nixpkgs/pull/312251#issuecomment-3416076466

I think it's frankly careless to merge something into nixpkgs that's two
patch-releases behind the current patch-level of the _legacy branch_ of
a software. Especially for security-sensitive things.

On top, this got never updated even though there are two high-rated CVEs
in this, i.e.  CVE-2025-27773[1] and CVE-2024-52596[2].

[1] https://github.com/advisories/GHSA-46r4-f8gj-xg56
[2] https://github.com/advisories/GHSA-2x65-fpch-2fcm
2025-10-17 17:49:52 +02:00
Maximilian Bosch a1c24d0868
filesender: remove
This depends on `simplesamlphp` which is one major version behind, was
packaged in an outdated version from the beginning and is known
vulnerable in nixpkgs. As a result, I decided to remove simplesamlphp
and all its reverse dependencies.
2025-10-17 17:49:01 +02:00
h7x4 fcfadc6853
nixos/pinchflat: make TZ variable optional (#452647) 2025-10-17 15:02:20 +00:00
Yechiel Worenklein b317daf271
nixos/pinchflat: make TZ variable optional
This is to prvent an error while building time.timeZone is set to null
(default)
2025-10-17 15:19:44 +01:00
nixpkgs-ci[bot] e92c97f5a0
Merge master into staging-nixos 2025-10-17 08:14:31 +00:00
Sophie Taylor 1020145d49
nixos/bind: run named-checkconf on config file 2025-10-17 15:14:15 +09:00
h7x4 cc3cb66a4b
nixosTests.certmgr.{command,systemd}: fix tests (#435141) 2025-10-17 06:06:47 +00:00
nixpkgs-ci[bot] 1a417779a0
Merge master into staging-nixos 2025-10-17 00:18:03 +00:00
Sandro 3e4edac3b4
nixos/librespeed: init (#448889) 2025-10-16 23:13:57 +00:00
Connor Baker c86b434e0f
Introduce kernelPackagesExtensions (#448069) 2025-10-16 22:40:56 +00:00
emily b17ca19e8f
nixos/librespeed: init
Co-Authored-By: Sandro Jäckel <sandro.jaeckel@gmail.com>
2025-10-17 00:40:35 +02:00