diff --git a/nixos.nix b/nixos.nix index 93c53c1..e4c2b77 100644 --- a/nixos.nix +++ b/nixos.nix @@ -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 diff --git a/services/authentication.nix b/services/authentication.nix new file mode 100644 index 0000000..94797f5 --- /dev/null +++ b/services/authentication.nix @@ -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; +}