17 lines
421 B
Nix
17 lines
421 B
Nix
{pkgs, ...}: {
|
|
users.users.someone.packages = with pkgs; [
|
|
polkit_gnome
|
|
];
|
|
|
|
systemd.user.services.polkit-gnome = {
|
|
description = "GNOME PolicyKit Agent";
|
|
wantedBy = ["graphical-session.target"];
|
|
after = ["graphical-session.target"];
|
|
partOf = ["graphical-session.target"];
|
|
|
|
serviceConfig = {
|
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
|
};
|
|
};
|
|
}
|