Startpage conifguration for firefox home-manager

Startpage’s firefox add-on/extension does not let you change its aliases/make it default or there is some weird naming I have made the proper setup for it to work like it should normally

# home.nix
{ lib, pkgs, ... }:
{
  home.username = "user";
  home.homeDirectory = "/home/user";
  # You do not need to change this if you're reading this in the future.
  # Don't ever change this after the first build.  Don't ask questions.
  home.stateVersion = "24.05";

  programs.firefox = {
   enable = true;
    profiles.default = {
    search = {
      force = true;
      default = "Startpage";
      engines = {
      "Startpage" = {
      urls = [{ template = "https://www.startpage.com/rvd/search?query={searchTerms}&language=auto"; }];
      iconUpdateURL = "https://www.startpage.com/sp/cdn/favicons/mobile/android-icon-192x192.png";
      updateInterval = 24 * 60 * 60 * 1000; # every day
      definedAliases = [ "@s" ];
      };
     
      };

    };
};
      };
}
1 Like