This commit is contained in:
joy 2024-07-16 11:38:55 +02:00
parent f94f8e0e66
commit 420ac03c52
3 changed files with 20 additions and 4 deletions

View file

@ -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"

View file

@ -13,5 +13,6 @@
./gpg
./appimage
./update
./polkit
];
}

View 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;
};
};
};
}