From f1df9f060914d8a1888f3c7bc8b67660d2d77635 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:01:58 +0400 Subject: [PATCH] (modules) desktop/browsers/firefox: bismillah before using fetchurl --- modules/desktop/browsers/firefox/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/desktop/browsers/firefox/default.nix b/modules/desktop/browsers/firefox/default.nix index 5ba25801..015ffb1a 100644 --- a/modules/desktop/browsers/firefox/default.nix +++ b/modules/desktop/browsers/firefox/default.nix @@ -73,8 +73,11 @@ in { }; "sakosearch" = { definedAliases = [ "@sakosearch" ]; - icon = - "${pkgs.searxng}/share/static/themes/simple/img/favicon.svg"; + icon = pkgs.fetchurl { + url = + "https://raw.githubusercontent.com/searxng/searxng/refs/heads/master/src/brand/searxng-wordmark.svg"; + hash = "sha256-TwwPUNL+IRRjLY7Xmd466F474vglkvpJUYa+fBwDzFI="; + }; urls = [{ template = "https://search.sako.box/search"; params = [{