mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
polkit-gnome: Change After target (#7137)
Before this change, I was getting `cannot open display:` errors
This commit is contained in:
@@ -27,7 +27,7 @@ in
|
||||
systemd.user.services.polkit-gnome = {
|
||||
Unit = {
|
||||
Description = "GNOME PolicyKit Agent";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
ExecStart=@polkit-gnome@/libexec/polkit-gnome-authentication-agent-1
|
||||
|
||||
[Unit]
|
||||
After=graphical-session-pre.target
|
||||
After=graphical-session.target
|
||||
Description=GNOME PolicyKit Agent
|
||||
PartOf=graphical-session.target
|
||||
''}
|
||||
|
||||
Reference in New Issue
Block a user