-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polkit authentication agent(s) #3739
Comments
Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesDon't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
did this go anywhere? I see it still open. |
@rycee This should be added. I am using this currently -> {
config,
lib,
pkgs,
...
}: {
options = {
myNixos.polkit-gnome.enable = lib.mkEnableOption "Enables polkit-gnome";
};
config = lib.mkIf config.myNixos.polkit-gnome.enable {
security.polkit.enable = true;
systemd.user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = ["graphical-session.target"];
wants = ["graphical-session.target"];
after = ["graphical-session.target"];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
} |
no sadly. |
@mobsenpai feel free to submit a PR with your changes. |
@sumnerevans I waited for someone experienced to do it first, because I haven't opened any PR but here you go! I know it's not at all a good PR, but I did what I could. |
Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesDon't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
Recent work happened in #5619 so not stale. |
Description
I'm running into needing/wanting a graphical Polkit agent, but there's no current agents present in
home-manager
.I've seen #2400 and am considering writing something based on that, though with the GNOME polkit as I'm running Sway, and other recommendations I've been given involved xdg-autostart (which is external state).
Could we re-open the mentioned PR, or should I draft a new one?
I'm currently just running
Not sure if that
BusName
arg is needed...The text was updated successfully, but these errors were encountered: