Fix fcitx5 and polkit gnome

This commit is contained in:
2024-07-12 00:49:08 +07:00
parent 8d6ca4fed7
commit 440625f9be
+8 -1
View File
@@ -92,10 +92,12 @@ in {
systemd.user.services.polkit-gnome-authentication-agent-1 = {
Unit = {
Description = "polkit-gnome-authentication-agent-1";
WantedBy = ["graphical-session.target"];
Wants = ["graphical-session.target"];
After = ["graphical-session.target"];
};
Install = {
WantedBy = ["graphical-session.target"];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
@@ -114,6 +116,11 @@ in {
];
};
};
systemd.user.services.fcitx5-daemon = {
Unit = {
After = ["graphical-session.target"];
};
};
xdg.configFile."fcitx5/config" = {
force = true;