How to set gui for polkit


this the gui design currently in my system. how to change this i don’t how to enable gtk and qt for this in hyprland

It looks like you are using kde’s poolkit agent.
To change gtk or qt themes in hyprland/nixos watch this video:

It really helps you going in terms of theming. But you need homemanager for this.
This is my current config for gtk/qt themes:

  gtk = {
    enable = true;
    theme = {
      name = lib.mkForce "adw-gtk3-dark";
      package = lib.mkForce pkgs.adw-gtk3;
    };
    iconTheme.package = pkgs.papirus-icon-theme;
    iconTheme.name = "Papirus";
  
    gtk3.extraConfig = {
      Settings = ''
        gtk-application-prefer-dark-theme=1
      '';
    };

    gtk4.extraConfig = {
      Settings = ''
        gtk-application-prefer-dark-theme=1
	    '';
    };
  };

  qt = {
    enable = true;
    platformTheme = "gnome";
    style.name = "adwaita-dark";
    style.package = pkgs.adwaita-qt;
  };   
  home.sessionVariables.GTK_THEME = "adw-gtk3-dark";

If you want to change the whole appereance you can switch auth. agent to maybe something polkit-gnome-authentication-agent or others like these discribed in the wiki: polkit - ArchWiki

will the above code work for hyprland ?? and i am using polkit-gnome-authentication-agent only

so i am using hyprland and it works. But I am also using stylix (best thing for theming on nixos).

it should work for that.