mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-03 00:15:35 +02:00
chore: Use singleton where possible
This commit is contained in:
parent
83a82ab655
commit
7674c8e90e
@ -7,7 +7,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf singleton;
|
||||||
|
|
||||||
friendlyfox = pkgs.callPackage ../packages/friendlyfox.nix { };
|
friendlyfox = pkgs.callPackage ../packages/friendlyfox.nix { };
|
||||||
in
|
in
|
||||||
@ -32,7 +32,15 @@ in
|
|||||||
|
|
||||||
engines = {
|
engines = {
|
||||||
Mullvad = {
|
Mullvad = {
|
||||||
urls = [ { template = "https://leta.mullvad.net/?q={searchTerms}"; } ];
|
urls = singleton {
|
||||||
|
template = "https://leta.mullvad.net";
|
||||||
|
|
||||||
|
params = singleton {
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
icon = "${pkgs.mullvad-vpn}/share/icons/hicolor/32x32/apps/mullvad-vpn.png";
|
icon = "${pkgs.mullvad-vpn}/share/icons/hicolor/32x32/apps/mullvad-vpn.png";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user