plasma: Attempt to use ksshaskpass

This commit is contained in:
PapaTutuWawa 2022-08-06 14:10:47 +02:00
parent 8a459476ac
commit 5f2172f2a5

View File

@ -146,31 +146,40 @@ in {
extraPortals = [ pkgs.xdg-desktop-portal-kde ]; extraPortals = [ pkgs.xdg-desktop-portal-kde ];
}; };
environment.systemPackages = let environment = {
plasmaMobilePackages = with pkgs.libsForQt5; with plasma5; with kdeApplications; with kdeFrameworks; [ systemPackages = let
plasma-mobile plasmaMobilePackages = with pkgs.libsForQt5; with plasma5; with kdeApplications; with kdeFrameworks; [
plasma-nano plasma-mobile
pkgs.maliit-framework plasma-nano
pkgs.maliit-keyboard pkgs.maliit-framework
]; pkgs.maliit-keyboard
kdePackages = with pkgs.libsForQt5; [ ];
okular kdePackages = with pkgs.libsForQt5; [
kdeconnect-kde okular
breeze-gtk kdeconnect-kde
bismuth breeze-gtk
gwenview bismuth
yakuake gwenview
] ++ lib.optionals cfg.mobile.enable plasmaMobilePackages; yakuake
packages = with pkgs; [ ] ++ lib.optionals cfg.mobile.enable plasmaMobilePackages;
index-fm packages = with pkgs; [
rsibreak index-fm
kalendar rsibreak
kate kalendar
okular kate
okular
# Some Gnome software # Some Gnome software
gnome.totem gnome.totem
]; ];
in kdePackages ++ packages; in kdePackages ++ packages;
sessionVariables = let
askPass = "${pkgs.libsForQt5.ksshaskpass}/bin/ksshaskpass";
in {
SSH_ASKPASS = askPass;
SSH_ASKPASS_REQUIRE = "prefer";
GIT_ASKPASS = askPass;
};
};
}; };
} }