mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Fix fcitx5 and polkit gnome
This commit is contained in:
+8
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user