60991 Commits

Author SHA1 Message Date
Sandro
718305e422 nixos/rsshub: fix config example to new variable name (#517651) 2026-05-29 23:05:00 +00:00
Johannes Kirschbauer
6996a952c9 nixos/kernel_config: remove redundant mergeEqualOption 2026-05-30 00:25:06 +02:00
zowoq
92599a378a nixos/nspawn-container: use ty instead of mypy (#525399) 2026-05-29 22:18:16 +00:00
esahin90
b69b9deb9c nixos/gitlab-runner: add options for privileged services
The dockerServicesPrivileged and dockerAllowedPrivilegedServices limit
which containers are allowed to run in privileged mode in the GitLab CI.
2026-05-29 22:52:04 +02:00
rorosen
a6a1f8470c nixos/rancher: adapt auto deploy test to upstream change to traefik
Upstream changed the default bundled load balancer starting in RKE2 v1.36. This adapts the auto
deploy test accordingly.

From the RKE2 release notes:

Because ingress-nginx was retired upstream as of March 2026, Traefik is now the default for new
clusters starting in v1.36 (existing clusters will keep their current ingress upon upgrade to avoid
breakage). This transition brings the following structural changes:

- Airgapped Environments: The rke2-images-core tarball now contains Traefik images instead of
  ingress-nginx. The standalone rke2-images-traefik tarball has been removed. Users who must continue
  using ingress-nginx will now need to manually provide the rke2-images-ingress-nginx tarball.
- Future Removal: The ingress-nginx chart will not receive any additional updates and will be
  completely removed in v1.37 for community users.
- Prime Customers: Please refer to the official product documentation for specific Prime
  considerations.
2026-05-29 22:24:26 +02:00
whispers
5f316d1cc0 libgdata: drop due to upstream archival
libgdata was archived upstream, as can be seen in the GitLab repository:
https://gitlab.gnome.org/Archive/libgdata. Additionally, it relies on
libsoup 2.4, which is known to be insecure. The only effort to migrate
stalled out for years in
https://gitlab.gnome.org/Archive/libgdata/-/merge_requests/49, even
before the archival. Since there are no in-tree dependents, this seems
harmless to drop.
2026-05-29 15:26:25 -04:00
nixpkgs-ci[bot]
1cbe4b7302 Merge master into staging-nixos 2026-05-29 18:53:54 +00:00
Adam C. Stephens
0d2fe7805c nixos/tests/installer: fix ZFS tests (#525613) 2026-05-29 18:06:14 +00:00
Jo
8d2edb559c docs: more fixes to release notes (#525563) 2026-05-29 17:32:07 +00:00
NotAShelf
efc84cdfc4 doc/rl-2605: more typo/grammar fixes; fix Markdown lints
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4244fa38682ec62a19035c7662a7a0e36a6a6964
2026-05-29 18:19:52 +03:00
Leona Maroni
c5feb3c424 nixos/tests/installer: fix ZFS tests
after a2e55e31d6, `boot.zfs.forceImportRoot` defaults to false.
This leads to the ZFS installer tests failing as they have differnt
hostids in install and boot and the filesystem doesn't get exported
properly.
This change sets the hostid, so that an import without --force works.
2026-05-29 17:06:21 +02:00
talyz
dfe85974ca nixos/logrotate: Fix the config file check phase regex for create/createolddir
The check phase for the config file has to replace any instances of
user and group with the current ones, since logrotate checks whether
they actually exist. However, the create/createolddir substitution
expressions didn't take all different parameter formats into
account. Mainly, if the mode was specified, but not user and group,
the result would be something like

  create 0644nixbld nixbld

since it relies on matching a space at the end of the mode
specification.

To fix this, always append a space before the substituted user and
group.

Also, simplify the formatting by using extended regex and check for
word boundaries after create/createolddir to exclude any incorrect or
unsupported suffixes.
2026-05-29 16:26:07 +02:00
Atemu
73e30c74f6 nixos/steam: remove unnecessary bwrap wrapper (#524488) 2026-05-29 14:11:24 +00:00
provokateurin
546e8cadac nixos/stalwart: Allow AF_UNIX address family for journal tracer 2026-05-29 15:59:39 +02:00
NotAShelf
b786821e13 doc/rl-2511: more typo/grammar fixes; fix Markdown lints
Fixes odd bulletpoints and bare URLs that are prohibited by most
Markdown linters and specs.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iae14dce3d158ac11c59d9117694ccde46a6a6964
2026-05-29 16:32:36 +03:00
nixpkgs-ci[bot]
bbe4b6e2aa Merge master into staging-nixos 2026-05-29 13:07:27 +00:00
isabel
0989cf14ec porxie: 0.3.1 -> 0.3.3, nixos/porxie: update options for version (#524728) 2026-05-29 12:29:01 +00:00
NotAShelf
02dd3281fe doc/rl-2605: fix various typos and grammar errors in release notes
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5cfb88c6574cadb0a677b2d8003179af6a6a6964
2026-05-29 14:04:13 +03:00
NotAShelf
30e3206c5f doc/rl-2511: fix various typos and grammar errors in release notes
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I51346308f175aabf51751cab517173286a6a6964
2026-05-29 14:04:12 +03:00
Cabia Rangris
31b4daa00e klipper: support using indented strings in settings (#524448) 2026-05-29 09:34:38 +00:00
Leona Maroni
d95db34ef9 varnish60: drop
uses EOL pcre, complicates our handling inside Nixpkgs.
There are much newer versions available.
2026-05-29 11:29:40 +02:00
Philip Munksgaard
8e5d6f456d nixos/test-driver: add defaultText to pythonTestDriverPackage
After d95261b435, the following flake.nix fails:

```nix
{
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  outputs = { nixpkgs, ... }: {
    nixosConfigurations.demo = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        ({ lib, ... }: {
          boot.loader.grub.enable = false;
          fileSystems."/" = { device = "none"; fsType = "tmpfs"; };
          nixpkgs.config.packageOverrides =
            lib.mkIf false (_: { });
        })
      ];
    };
  };
}
```

This is the error:

```
$ nix build /tmp/tmp.vWEVitTgK9/#nixosConfigurations.demo.config.system.build.toplevel
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'nixos-system-nixos-26.05.20260409.4c1018d'
         whose name attribute is located at /nix/store/anvdcc2arw7kqrvwnidvhw6ypkkvws68-source/pkgs/stdenv/generic/make-derivation.nix:541:11

       … while evaluating attribute 'buildCommand' of derivation 'nixos-system-nixos-26.05.20260409.4c1018d'
         at /nix/store/anvdcc2arw7kqrvwnidvhw6ypkkvws68-source/nixos/modules/system/activation/top-level.nix:64:7:
           63|       passAsFile = [ "extraDependencies" ];
           64|       buildCommand = systemBuilder;
             |       ^
           65|

       … while evaluating the option `environment.etc.dbus-1.source':

       … while evaluating the default value of option `pythonTestDriverPackage`

       … while evaluating the module argument `hostPkgs' in "/nix/store/anvdcc2arw7kqrvwnidvhw6ypkkvws68-source/nixos/lib/testing/driver.nix":

       … noting that argument `hostPkgs` is not externally provided, so querying `_module.args` instead, requiring `config`

       … while evaluating the option `hostPkgs':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: The option `hostPkgs' was accessed but has no value defined. Try setting the option.
```

Setting a `defaultText` fixes the issue.

I've also added a regression test under `nixos/tests/nixos-test-driver/` and
fixed a typo in the option description ("implemetnation").
2026-05-29 11:17:25 +02:00
Marie Ramlow
eaba4b6830 matterjs-server: init at 0.7.1, nixos/matterjs-server: init (#524144) 2026-05-29 09:11:50 +00:00
nixpkgs-ci[bot]
e3ef1b2493 Merge master into staging-nixos 2026-05-29 07:22:49 +00:00
zowoq
f5c8639dd5 nixos/nspawn-container: use ty instead of mypy
the test driver package is also using ty
85d58871ae
2026-05-29 12:25:45 +10:00
Martin Weinelt
002fe0d6bf openvino: 2026.1.2 -> 2026.2.0; python3Packages.ai-edge-litert: 2.1.4 -> 2.1.5 (#525238) 2026-05-29 01:11:20 +00:00
nixpkgs-ci[bot]
e1bc1f5afc Merge master into staging-nixos 2026-05-29 00:47:40 +00:00
yaya
234a9cf3ce nixos/doc: Update stable channel in upgrading chapter (#525213) 2026-05-28 23:26:00 +00:00
Robert Schütz
87f07986f1 Revert "nixos/immich: fix matplotlib warning in machine-learning"
This reverts commit cb2ed10279 because
immich-machine-learning no longer transitively depends on matplotlib.
2026-05-28 15:54:37 -07:00
Gaétan Lepage
c2b00d1db8 nixos-test-driver: adher to select's interface (#525028) 2026-05-28 22:15:19 +00:00
r-vdp
c30b2c06d9 nixos-rebuild-ng: add --elevate=run0
Locally this just prefixes activation commands with `run0 --`, so the
user's normal polkit agent (graphical or pkttyagent) handles auth.

For --target-host, run0 would need a controlling terminal, which we
deliberately do not allocate over SSH. Instead the equivalent
`systemd-run --uid=0 --pipe --wait ...` form is used. Without
--ask-elevate-password this relies on a polkit rule on the target
granting the deploying user `org.freedesktop.systemd1.manage-units`.
With --ask-elevate-password the command is wrapped in
polkit-stdin-agent, which registers a per-process polkit agent for the
child and answers the PAM conversation from stdin.

A transient unit does not inherit the SSH login environment. On NixOS
the unit's PATH is just the systemd store path, so neither `env` nor
`nix-env` would be found inside it. Elevator.wrap_remote() therefore
now takes the env mapping and the command, and returns the full remote
argv: sudo keeps the existing `/bin/sh -c 'exec /usr/bin/env -i ...'`
wrapper inside itself, while run0 puts the shell wrapper *around*
systemd-run and forwards the resolved values into the unit via
--setenv. The Arg/Args/EnvValue/PRESERVE_ENV types and the env-shell
helper move from process.py into elevate.py to avoid a circular import,
and callers are updated to import them from there.

polkit-stdin-agent is resolved on the machine doing the elevation
rather than baked in as a host-arch store path, which would be wrong
for --no-reexec, cross-arch deploys (re-exec hits ENOEXEC and falls
back), --rollback/--store-path, and Darwin deployers. Locally that is
PATH. Remotely, Elevator.for_target_config() binds the elevator to the
toplevel just placed on the target, and a small /bin/sh picker tries
<toplevel>/sw/bin/polkit-stdin-agent (target-arch, in the copied
closure) then PATH, exiting with an actionable error pointing at
system.tools.nixos-rebuild.enableRun0Elevation when neither resolves.
That option (added here) puts the agent in environment.systemPackages
and asserts security.polkit.enable.

A nixos-rebuild-target-host subtest exercises the full remote run0
path (polkit-stdin-agent + systemd-run + activation) end-to-end.

Drop the now-unused stdenv argument from package.nix while here.

Closes #507054.
2026-05-29 00:22:19 +03:00
Martin Weinelt
660ebbfb0d nixos/tests/friate: migrate to container test 2026-05-28 22:11:29 +02:00
nixpkgs-ci[bot]
039cb39bf7 Merge master into staging-nixos 2026-05-28 18:54:54 +00:00
StepBroBD
32e19a7103 nixos/bird: start bird after network.target (#510865) 2026-05-28 17:21:45 +00:00
erop
12b7b2fac9 nixos/steam: remove unnecessary bwrap wrapper 2026-05-28 16:05:14 +02:00
yaya
88d8d2c5d5 nixos/doc: Update stable channel in upgrading chapter 2026-05-28 15:41:48 +02:00
Yifei Sun
8ea12e271a nixos/bird: start bird after network.target 2026-05-28 15:31:46 +02:00
j-k
eb64aa6eae nixos/llama-swap: remove ProcSubset pid limitation (#524909) 2026-05-28 13:30:33 +00:00
nixpkgs-ci[bot]
f99b64c299 Merge master into staging-nixos 2026-05-28 13:16:08 +00:00
Florian Klink
16664e055b nixos/pam: Refactor for performance & readability (#525090) 2026-05-28 10:59:19 +00:00
Doron Behar
b43ea96874 nixos/virtualisation: remove hard-coded virtio-gpu-pci device from aarch machines (#517012) 2026-05-28 08:00:30 +00:00
nixpkgs-ci[bot]
0ba8fe576c Merge master into staging-nixos 2026-05-28 07:22:46 +00:00
Ivan Mincik
8ed93186d7 nixos/nominatim: make UI optional (#524915) 2026-05-28 06:48:34 +00:00
adisbladis
4eb838f5d2 nixos/pam: Refactor with an eye for performance
This moves up some variables in scope, changes iteration patterns & and eliminates use of `lib.pipe`.
2026-05-28 14:30:14 +12:00
dotlambda
59f86ec098 nixos/immich: fix matplotlib warning in machine-learning; python314Packages.rapidocr: fix compatibility with Immich (#522428) 2026-05-28 02:02:54 +00:00
nixpkgs-ci[bot]
10971505e5 Merge master into staging-nixos 2026-05-28 00:41:13 +00:00
Benjamin Sparks
e20cd6adb0 nixos-test-driver: adher to select's interface
TL;DR add `assert` to correct location for type-narrowing

typeshed recently updated their definition of `select` in bcb6399e15.
The result is that the members of the lists passed to `select` now
require an upper bound of `FileDescriptorLike`.

The `self.shell` variable is typed as `socket | None`, but previously
passed checking against typeshed due to the missing upper-bound.
Despite the source code including a type-narrowing `assert`, `ty` does
not make use of it within the inner function that `select` is used in,
meaning `self.shell` wasn't narrowed at the appropriate place.
Now that typeshed has added this upper-bound, type-checking starts to fail, as evidenced in
https://github.com/NixOS/nixpkgs/pull/523288#issuecomment-4529738483.

So the correct fix is just to add the `assert` into the inner function.
2026-05-28 00:01:49 +02:00
dotlambda
5e75619fda github-runner: Disable node20 runtime by default (#524856) 2026-05-27 18:51:54 +00:00
nixpkgs-ci[bot]
44a4b4a66c Merge master into staging-nixos 2026-05-27 18:49:14 +00:00
Malix - Alix Brunet
5eebcdb3e1 treewide: update nix-darwin link 2026-05-27 20:26:42 +02:00