r-vdp
2ff37e40e0
switch-to-configuration-ng: restart changed user units on switch
...
Previously the per-user child only reexecuted the user systemd instance
and restarted nixos-activation.service, leaving NixOS-managed user units
in /etc/systemd/user running stale binaries until the next login. Options
like systemd.user.services.<name>.restartTriggers were ineffective.
The user-scope child now:
1. collects changes by comparing the pre-switch old_toplevel (captured
before activation and passed via OLD_TOPLEVEL env) against the new
toplevel
2. stops obsolete units
3. reexecutes + reloads the user systemd
4. reloads/restarts/starts changed units
5. runs nixos-activation.service (home-manager etc.)
Units are filtered by FragmentPath so those shadowed by
~/.config/systemd/user are left to home-manager to handle.
Resume-after-interrupt persistence uses $XDG_RUNTIME_DIR/nixos for the
user scope, mirroring /run/nixos for system.
Fixes #246611
2026-04-21 15:43:44 +02:00
r-vdp
5e22ad20da
switch-to-configuration-ng: parameterise unit handling over UnitScope
...
Introduce a UnitScope enum that abstracts the differences between
/etc/systemd/system and /etc/systemd/user (unit directory, persisted
action-list location) and thread it through handle_modified_unit() and
collect_unit_changes(). The system path is unchanged: all callers pass
UnitScope::System and the resulting unit directory and list-file paths
are identical to the previous constants.
Preparation to reuse the diff logic for user units.
2026-04-21 15:42:26 +02:00
r-vdp
5e4c815e26
switch-to-configuration-ng: extract unit comparison loop into helper
...
Move the inline loop that diffs active units against the new toplevel
into a free-standing collect_unit_changes(). No functional change,
preparation to reuse the same logic for user units.
2026-04-21 15:42:26 +02:00
Pol Dellaiera and GitHub
5a9ffcc4ad
github-runner: 2.332.0 -> 2.333.1 ( #506237 )
2026-04-07 09:53:23 +00:00
isabel and GitHub
215caee23e
bsky-cli: 0.0.77 -> 0.0.78 ( #507445 )
2026-04-07 09:52:00 +00:00
Felix Bargfeldt and GitHub
b93ddcb44d
zipline: 4.4.2 -> 4.5.2 ( #507118 )
2026-04-07 09:30:19 +00:00
Oliver Schmidt
012d0dcd6e
github-runner: work around darwin testfailures by disabling sandbox
...
The github-runner tests fail when executed in a sandbox, even with
`__darwinAllowLocalNetworking`.
While `sandbox = false` is still the default under darwin, `sandbox =
relaxed` becomes more popular. For that mode, `__noChroot` serves as a
marker to still disable the sandbox for that derivation.
2026-04-07 11:28:04 +02:00
Markus Kowalewski and GitHub
67d6d62696
nfs-ganesha: 9.9 -> 9.10 ( #507261 )
2026-04-07 09:18:35 +00:00
Pol Dellaiera and GitHub
11e0d2beb4
markdown-code-runner: 0.3.2 -> 0.4.2 ( #507534 )
2026-04-07 09:14:10 +00:00
Robert Hensing and GitHub
ffe82c6a3c
lib/modules: deprecate 'mkAliasIfDef' ( #470154 )
2026-04-07 09:05:53 +00:00
Pol Dellaiera
56851c4fc2
markdown-code-runner: 0.3.2 -> 0.4.2
2026-04-07 11:05:07 +02:00
Matteo Pacini and GitHub
8931f21ff5
asccli: init at 1.0.1 ( #501799 )
2026-04-07 09:00:16 +00:00
K900 and GitHub
4ffd2ae0ee
home-assistant-custom-components.smartthinq-sensors: 0.41.2 -> 0.42.0 ( #507528 )
2026-04-07 08:52:27 +00:00
Thomas Gerbet and GitHub
a071095d82
cosign: 3.0.5 -> 3.0.6 ( #507439 )
2026-04-07 08:44:27 +00:00
nixpkgs-ci[bot] and GitHub
7109126b64
dprint-plugins.dprint-plugin-biome: 0.12.5 -> 0.12.6 ( #507250 )
2026-04-07 08:39:43 +00:00
R. Ryantm
0adff3bc0f
home-assistant-custom-components.smartthinq-sensors: 0.41.2 -> 0.42.0
2026-04-07 08:37:08 +00:00
Francesco Gazzetta and GitHub
13bafaa9a2
ladybird: 0-unstable-2026-02-14 -> 0-unstable-2026-04-04 ( #506687 )
2026-04-07 08:33:20 +00:00
zowoq and GitHub
1e91cca9f9
moor: 2.11.1 -> 2.12.0 ( #507521 )
2026-04-07 08:25:28 +00:00
zowoq and GitHub
03f7255334
terraform-providers.maxlaverse_bitwarden: 0.17.3 -> 0.17.6 ( #507496 )
2026-04-07 08:25:10 +00:00
R. Ryantm
7eb0383ade
moor: 2.11.1 -> 2.12.0
2026-04-07 08:11:29 +00:00
Pavol Rusnak and GitHub
a3db02183b
rustpython: 0.4.0 -> 0.5.0 ( #507262 )
2026-04-07 08:05:10 +00:00
nixpkgs-ci[bot] and GitHub
0e1528650d
amp-cli: 0.0.1774699422-ga16517 -> 0.0.1775463997-ga80857 ( #507214 )
2026-04-07 08:02:10 +00:00
nixpkgs-ci[bot] and GitHub
56c11dd48d
scipopt-scip: 10.0.1 -> 10.0.2 ( #506198 )
2026-04-07 08:02:05 +00:00
nixpkgs-ci[bot] and GitHub
7b7a9052ae
gauge-unwrapped: 1.6.28 -> 1.6.29 ( #506954 )
2026-04-07 08:02:01 +00:00
nixpkgs-ci[bot] and GitHub
a71b707a28
buildkit: 0.28.1 -> 0.29.0 ( #506457 )
2026-04-07 08:02:00 +00:00
Thiago Kenji Okada and GitHub
c6a0bcbe81
libretro.freeintv: 0-unstable-2026-02-24 -> 0-unstable-2026-03-31 ( #507511 )
2026-04-07 07:56:43 +00:00
kirillrdy and GitHub
7b609cb932
python3Packages.great-tables: cleanup, skip failing test ( #507420 )
2026-04-07 07:37:23 +00:00
Gaétan Lepage and GitHub
8fe8260eb1
python3Packages.tensorflow: 2.20.0 -> 2.21.0; python3Packages.keras: 3.13.2 -> 3.14.0 ( #507074 )
2026-04-07 07:35:20 +00:00
R. Ryantm
cffa81975f
libretro.freeintv: 0-unstable-2026-02-24 -> 0-unstable-2026-03-31
2026-04-07 07:33:45 +00:00
nixpkgs-ci[bot] and GitHub
3d13509c6e
ghostfolio: 2.251.0 -> 2.252.0 ( #507329 )
2026-04-07 07:27:03 +00:00
Gaetan Lepage
3ddf18ca4e
python3Packages.great-tables: cleanup, skip failing test
2026-04-07 07:14:33 +00:00
Thiago Kenji Okada and GitHub
f97e195236
libretro.beetle-psx: 0-unstable-2026-03-28 -> 0-unstable-2026-04-03 ( #507500 )
2026-04-07 06:59:15 +00:00
Thiago Kenji Okada and GitHub
8c1a53c671
libretro.bluemsx: 0-unstable-2025-11-04 -> 0-unstable-2026-03-31 ( #507461 )
2026-04-07 06:58:47 +00:00
nixpkgs-ci[bot] and GitHub
ec88451101
rehex: 0.63.4 -> 0.64.0 ( #506702 )
2026-04-07 06:48:43 +00:00
nixpkgs-ci[bot] and GitHub
01e0ed22e2
stellarium: 25.4 -> 26.1 ( #506985 )
2026-04-07 06:48:39 +00:00
nixpkgs-ci[bot] and GitHub
834e51a89e
jackett: 0.24.1066 -> 0.24.1542 ( #490980 )
2026-04-07 06:48:37 +00:00
R. Ryantm
6f22706bbe
libretro.beetle-psx: 0-unstable-2026-03-28 -> 0-unstable-2026-04-03
2026-04-07 06:43:48 +00:00
Niklas Korz and GitHub
9369311593
wesnoth: 1.18.6 -> 1.18.7 ( #507476 )
2026-04-07 06:41:13 +00:00
R. Ryantm
0b80f2be8b
terraform-providers.maxlaverse_bitwarden: 0.17.3 -> 0.17.6
2026-04-07 06:15:31 +00:00
Vladimír Čunát and GitHub
358f4fca7e
opensc: 0.26.1 -> 0.27.1 ( #505568 )
2026-04-07 06:13:39 +00:00
nixpkgs-ci[bot] and GitHub
c07aeb4f2b
ntfy-sh: 2.20.1 -> 2.21.0 ( #507428 )
2026-04-07 06:08:52 +00:00
nixpkgs-ci[bot] and GitHub
941a7c7d3e
worktrunk: 0.33.0 -> 0.34.2 ( #507385 )
2026-04-07 06:08:51 +00:00
nixpkgs-ci[bot] and GitHub
1062d4545c
llmfit: 0.8.5 -> 0.9.1 ( #507087 )
2026-04-07 06:08:50 +00:00
nixpkgs-ci[bot] and GitHub
ef846ac5b1
voxtype: 0.6.3 -> 0.6.5 ( #501513 )
2026-04-07 06:08:42 +00:00
Vladimír Čunát and GitHub
ba2440c3da
navidrome: 0.60.3 -> 0.61.1 ( #505529 )
2026-04-07 06:01:05 +00:00
zowoq and GitHub
b7d7fd05f4
terraform-providers.oracle_oci: 8.7.0 -> 8.8.0 ( #507486 )
2026-04-07 05:52:00 +00:00
Vincent Laporte and GitHub
4afb0ec098
ocamlPackages.miou: 0.4.0 → 0.5.5 ( #505903 )
2026-04-07 05:33:02 +00:00
R. Ryantm
e3505dd5c6
terraform-providers.oracle_oci: 8.7.0 -> 8.8.0
2026-04-07 05:06:27 +00:00
Pol Dellaiera and GitHub
e5b9fe3d8f
python3Packages.swh-core: 4.6.0 -> 4.6.1 ( #507429 )
2026-04-07 05:02:53 +00:00
nixpkgs-ci[bot] and GitHub
a1e28fd56f
go-musicfox: 4.8.0 -> 4.8.1 ( #507451 )
2026-04-07 04:53:13 +00:00