polkit: properly enable it and enable gnome-keyring
This commit is contained in:
parent
11783be637
commit
831faf1296
|
@ -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
|
||||
|
|
12
services/authentication.nix
Normal file
12
services/authentication.nix
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue