polkit
This commit is contained in:
parent
65ef8b3e23
commit
e7d60e71c3
|
@ -28,9 +28,6 @@
|
||||||
"DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10"
|
"DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10"
|
||||||
];
|
];
|
||||||
|
|
||||||
windowrule = [
|
|
||||||
"float, lxqt-policykit-agent"
|
|
||||||
];
|
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
|
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
|
||||||
|
@ -38,7 +35,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"lxqt-policykit-agent &"
|
|
||||||
"ags -c ~/nix/home/ags/bar/config.js &"
|
"ags -c ~/nix/home/ags/bar/config.js &"
|
||||||
"wl-paste --type text --watch cliphist store"
|
"wl-paste --type text --watch cliphist store"
|
||||||
"wl-paste --type image --watch cliphist store"
|
"wl-paste --type image --watch cliphist store"
|
||||||
|
|
|
@ -13,5 +13,6 @@
|
||||||
./gpg
|
./gpg
|
||||||
./appimage
|
./appimage
|
||||||
./update
|
./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