feat(authentication): move to kde auth agents and services

As well as move the script to common.nix where we can point the correct
binary for the polkit agent
This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-09-20 11:54:50 -03:00
parent a9104c7cc3
commit 186f879b73
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
3 changed files with 70 additions and 53 deletions

View file

@ -4,9 +4,9 @@
# Enable polkit,
security.polkit.enable = true;
# Install an agent to interface with it.
environment.systemPackages = with pkgs; [ polkit_gnome ];
# And enable GNOME keyring for registering keys.
services.gnome.gnome-keyring.enable = true;
# Install a keyring service and manager.
environment.systemPackages = with pkgs; [
libsForQt5.kwallet
libsForQt5.kwalletmanager
];
}