Universally add polkit
This commit is contained in:
parent
94ce7860bb
commit
3e3a433bca
|
@ -106,10 +106,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
xdg.configFile."autostart/polkit.desktop".text = ''
|
|
||||||
${builtins.readFile "${pkgs.pantheon.pantheon-agent-polkit}/etc/xdg/autostart/io.elementary.desktop.agent-polkit.desktop"}
|
|
||||||
OnlyShowIn=sway;
|
|
||||||
'';
|
|
||||||
xdg.configFile."autostart/input-remapper-autoload.desktop".source =
|
xdg.configFile."autostart/input-remapper-autoload.desktop".source =
|
||||||
"${pkgs.input-remapper}/share/applications/input-remapper-autoload.desktop";
|
"${pkgs.input-remapper}/share/applications/input-remapper-autoload.desktop";
|
||||||
|
|
||||||
|
|
|
@ -167,6 +167,7 @@ in
|
||||||
qt.style.package = pkgs.adwaita-qt;
|
qt.style.package = pkgs.adwaita-qt;
|
||||||
qt.style.name = "adwaita";
|
qt.style.name = "adwaita";
|
||||||
|
|
||||||
|
|
||||||
xdg.configFile =
|
xdg.configFile =
|
||||||
let
|
let
|
||||||
f = pkg: {
|
f = pkg: {
|
||||||
|
@ -184,8 +185,15 @@ in
|
||||||
"${srcFile}/${pkg.name}.desktop";
|
"${srcFile}/${pkg.name}.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
autoStartup = listToAttrs (map f (cfg.startup ++ alwaysStartup));
|
||||||
in
|
in
|
||||||
listToAttrs (map f (cfg.startup ++ alwaysStartup));
|
autoStartup // {
|
||||||
|
## Polkit UI
|
||||||
|
"autostart/polkit.desktop".text = ''
|
||||||
|
${builtins.readFile "${pkgs.pantheon.pantheon-agent-polkit}/etc/xdg/autostart/io.elementary.desktop.agent-polkit.desktop"}
|
||||||
|
OnlyShowIn=sway;
|
||||||
|
'';
|
||||||
|
};
|
||||||
# IBus configuration
|
# IBus configuration
|
||||||
# dconf.settings."desktop/ibus/general" = {
|
# dconf.settings."desktop/ibus/general" = {
|
||||||
# engines-order = hm.gvariant.mkArray hm.gvariant.type.string [ "xkb:jp::jpn" "mozc-jp" "Bamboo" ];
|
# engines-order = hm.gvariant.mkArray hm.gvariant.type.string [ "xkb:jp::jpn" "mozc-jp" "Bamboo" ];
|
||||||
|
|
Loading…
Reference in a new issue