Skip to content

[Backport release-25.11] nixos/nix-daemon: Support running as non-root user#493419

Merged
Ericson2314 merged 1 commit intoNixOS:release-25.11from
obsidiansystems:nix-daemon-unprivileged-backport
Feb 23, 2026
Merged

[Backport release-25.11] nixos/nix-daemon: Support running as non-root user#493419
Ericson2314 merged 1 commit intoNixOS:release-25.11from
obsidiansystems:nix-daemon-unprivileged-backport

Conversation

@artemist
Copy link
Member

Cherry-pick of bd49e43 from #491809 with fixes from 3e7afcb from #493417

This is being backported to allow using it in the upstream Nix tests.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Please follow the backporting guidelines and cherry-pick with the -x flag.
This requires changes to the unstable master and staging branches first, before backporting them.

Occasionally, commits are not cherry-picked at all, for example when updating minor versions of packages which have already advanced to the next major on unstable.
These commits can optionally be marked with a Not-cherry-picked-because: <reason> footer.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Couldn't locate the cherry-picked commit's hash in the commit message of 173eacf.

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@Ericson2314 Ericson2314 dismissed github-actions[bot]’s stale review February 23, 2026 19:34

Intentionally different, since fixes are squashed in . Everything is properly referenced in the commit message.

@Ericson2314 Ericson2314 added this pull request to the merge queue Feb 23, 2026
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 12.approvals: 1 This PR was reviewed and approved by one person. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 4.workflow: backport This targets a stable branch labels Feb 23, 2026
Merged via the queue into NixOS:release-25.11 with commit e80f56a Feb 23, 2026
33 checks passed
@Ericson2314 Ericson2314 deleted the nix-daemon-unprivileged-backport branch February 23, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants