diff --git a/hosts/common/optional/authentication.nix b/hosts/common/optional/authentication.nix index 43bf517..ca8ac8e 100644 --- a/hosts/common/optional/authentication.nix +++ b/hosts/common/optional/authentication.nix @@ -1,8 +1,14 @@ -{pkgs, ...}: { +{ + pkgs, + lib, + ... +}: { # Make programs like nextcloud client access saved passwords - programs.seahorse.enable = true; services.gnome.gnome-keyring.enable = true; + programs.seahorse.enable = true; + programs.ssh.askPassword = lib.mkForce "${pkgs.seahorse}/libexec/seahorse/ssh-askpass"; # Solve conflicting definition in seahorse and plasma6 + # Make authentication work for e.g. gparted security.polkit.enable = true; systemd = {