polkit: properly enable it and enable gnome-keyring

This commit is contained in:
Alexandre Cavalheiro 2024-08-23 20:51:05 -03:00
parent 11783be637
commit 831faf1296
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 13 additions and 0 deletions

View file

@ -22,6 +22,7 @@ in
./hardware-configuration.nix
# Include service configuration
./services/archi.nix
./services/authentication.nix
./services/caddy.nix
./services/forgejo.nix
./services/jellyfin.nix

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
# 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;
}