mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-07 17:04:00 +01:00
chore: Use singleton where possible
This commit is contained in:
parent
83a82ab655
commit
7674c8e90e
@ -7,7 +7,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib) mkIf singleton;
|
||||
|
||||
friendlyfox = pkgs.callPackage ../packages/friendlyfox.nix { };
|
||||
in
|
||||
@ -32,7 +32,15 @@ in
|
||||
|
||||
engines = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user