Skip to content

Cosmic test improvement polkit changes#530915

Closed
thefossguy wants to merge 21 commits into
NixOS:masterfrom
thefossguy:cosmic-test-improvement-polkit-changes
Closed

Cosmic test improvement polkit changes#530915
thefossguy wants to merge 21 commits into
NixOS:masterfrom
thefossguy:cosmic-test-improvement-polkit-changes

Conversation

@thefossguy

Copy link
Copy Markdown
Member

Things done

thefossguy and others added 21 commits June 11, 2026 12:45
The module now enables polkit, which run0 requires to faciliate
elevation. This warrants guarding the config by an opt-in enable toggle.

For the options that existed prior to the enable toggle we now assert
that users need to opt into the module for them to have an effect.
Calls pkexec in src/grd-ctl.c.
The run0 module now enables polkit and properly reflects the intent
behind the `enableRun0Elevation` option.
We concluded this is fine, because we don't require elevation while
switching generations.

Co-Authored-By: r-vdp <ramses@well-founded.dev>
Co-Authored-By: Grimmauld <Grimmauld@grimmauld.de>
@thefossguy thefossguy closed this Jun 12, 2026
@thefossguy

Copy link
Copy Markdown
Member Author

PR containing proposed changes in #530106 on top of #519448.

@thefossguy

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 530915 --extra-nixpkgs-config '{ allowBroken = true; allowUnfree = true; }' --additional-package nixosTests.cosmic-noxwayland --additional-package nixosTests.cosmic --additional-package nixosTests.cosmic-autologin-noxwayland --additional-package nixosTests.cosmic-autologin
Commit: cbab082653300399f262ee618acf14e3248cce6a


aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 4 tests built:
  • nixosTests.cosmic
  • nixosTests.cosmic-autologin
  • nixosTests.cosmic-autologin-noxwayland
  • nixosTests.cosmic-noxwayland
✅ 1 package built:
  • empty-pdf

@thefossguy

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 530915 --extra-nixpkgs-config '{ allowBroken = true; allowUnfree = true; }' --additional-package nixosTests.cosmic-autologin --additional-package nixosTests.cosmic-autologin-noxwayland --additional-package nixosTests.cosmic-noxwayland --additional-package nixosTests.cosmic
Commit: cbab082653300399f262ee618acf14e3248cce6a


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 4 tests built:
  • nixosTests.cosmic
  • nixosTests.cosmic-autologin
  • nixosTests.cosmic-autologin-noxwayland
  • nixosTests.cosmic-noxwayland
✅ 1 package built:
  • empty-pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants