polkit
This commit is contained in:
parent
f94f8e0e66
commit
420ac03c52
|
@ -28,9 +28,6 @@
|
|||
"DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
"float, lxqt-policykit-agent"
|
||||
];
|
||||
|
||||
env = [
|
||||
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
|
||||
|
@ -38,7 +35,6 @@
|
|||
];
|
||||
|
||||
exec-once = [
|
||||
"lxqt-policykit-agent &"
|
||||
"ags -c ~/nix/home/ags/bar/config.js &"
|
||||
"wl-paste --type text --watch cliphist store"
|
||||
"wl-paste --type image --watch cliphist store"
|
||||
|
|
|
@ -13,5 +13,6 @@
|
|||
./gpg
|
||||
./appimage
|
||||
./update
|
||||
./polkit
|
||||
];
|
||||
}
|
||||
|
|
19
modules/polkit/default.nix
Normal file
19
modules/polkit/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... } :
|
||||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue