Polkit
Polkit is not working anymore - NixOS Discourse
Setting Up Authentication Manager (Polkit)
Sway WM configuration: Polkit, login manager
Hi again guys I'm having trouble to add a polkit to nixos with? I'm using Qtile and according to the wiki I need to autostart it cause I'm using a wm but after intalling the mate-polkit I don't know where the location of the binary is ... also do you have any recommendations to get more familiar with nix? cause sometimes the wiki is not enough ... anyways thanks in advance
EDIT: I know that normally the polkit binary should be under the /usr/lib directory but for some reason it doesn't exists on my system maybe I overlooked something?
Hi!
After one year of Arch, i decided to switch to this distro. And wow, it is as cool as different. I'm having many problems, but i would like to start by a simple one: Setting up the Authentication manager.
I've followed the instruction of the wiki, and some youtube videos, and i have the following configuration:
...
environment.systemPackages = with pkgs; [
...
# Polkit
pkgs.polkit
pkgs.polkit_gnome
...
];
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;
};
};
extraConfig = ''
DefaultTimeoutStopSec=10s
'';
};
...From what i understand, this would make the gnome authentication manager work. But, it doesn't. I honestly can't understand why
I hope some of you has already passed through this problem, and knows the solution.
Thanks in advance
Hey guys, I am trying to get polkit and the polkit KDE athentication agent running on my system but I am having a pretty hard time getting it working. Here are the polkit relevant sections of my setup
# /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
pkgs.polkit
];
security.polkit.enable = true;
# ~/dotfiles/home,nix
home.packages = [
pkgs.kdePackages.polkit-kde-agent-1
];
# ~/dotfiles/qtile/autostart
/nix/store/$(ls -la /nix/store | grep polkit-kde-agent | grep '^d' | awk '{print $9}')/libexec/polkit-kde-authentication-agent-1 &I tried to get this to be as close to the polkit + authentication agent setup described on the wiki as possible. The Qtile autostart command is copied directly from the official wiki page for polkit. But I am still having authentication problems. For example, when I open /etc/nixos/configuration.nix in Kate, I do not get a prompt asking for the administrator password when I try to save, but instead I still get this error:
Does anyone have any experience with getting polkit and the KDE authentication agent working properly? Have I done something obviously wrong here? Am I missing something?