mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
chore: format everything
This commit is contained in:
parent
deca311c68
commit
7ccd7856ee
162 changed files with 4750 additions and 3718 deletions
|
@ -2,7 +2,8 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib) concatStringsSep escapeShellArg mapAttrsToList;
|
||||
env = {
|
||||
MOZ_WEBRENDER = 1;
|
||||
|
@ -23,7 +24,8 @@
|
|||
rev = "116.1";
|
||||
hash = "sha256-Ai8Szbrk/4FhGhS4r5gA2DqjALFRfQKo2a/TwWCIA6g=";
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox.overrideAttrs (old: {
|
||||
|
@ -153,7 +155,15 @@ in {
|
|||
search = {
|
||||
force = true;
|
||||
default = "Kagi";
|
||||
order = ["Kagi" "DuckDuckGo" "Youtube" "NixOS Options" "Nix Packages" "GitHub" "HackerNews"];
|
||||
order = [
|
||||
"Kagi"
|
||||
"DuckDuckGo"
|
||||
"Youtube"
|
||||
"NixOS Options"
|
||||
"Nix Packages"
|
||||
"GitHub"
|
||||
"HackerNews"
|
||||
];
|
||||
|
||||
engines = {
|
||||
"Bing".metaData.hidden = true;
|
||||
|
@ -163,7 +173,7 @@ in {
|
|||
"Kagi" = {
|
||||
iconUpdateURL = "https://kagi.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = ["@k"];
|
||||
definedAliases = [ "@k" ];
|
||||
urls = [
|
||||
{
|
||||
template = "https://kagi.com/search";
|
||||
|
@ -180,7 +190,7 @@ in {
|
|||
"YouTube" = {
|
||||
iconUpdateURL = "https://youtube.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = ["@yt"];
|
||||
definedAliases = [ "@yt" ];
|
||||
urls = [
|
||||
{
|
||||
template = "https://www.youtube.com/results";
|
||||
|
@ -196,7 +206,7 @@ in {
|
|||
|
||||
"Nix Packages" = {
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@np"];
|
||||
definedAliases = [ "@np" ];
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/packages";
|
||||
|
@ -216,7 +226,7 @@ in {
|
|||
|
||||
"NixOS Options" = {
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@no"];
|
||||
definedAliases = [ "@no" ];
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/options";
|
||||
|
@ -237,7 +247,7 @@ in {
|
|||
"GitHub" = {
|
||||
iconUpdateURL = "https://github.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = ["@gh"];
|
||||
definedAliases = [ "@gh" ];
|
||||
|
||||
urls = [
|
||||
{
|
||||
|
@ -254,7 +264,7 @@ in {
|
|||
|
||||
"Home Manager" = {
|
||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@hm"];
|
||||
definedAliases = [ "@hm" ];
|
||||
|
||||
url = [
|
||||
{
|
||||
|
@ -272,7 +282,7 @@ in {
|
|||
"HackerNews" = {
|
||||
iconUpdateURL = "https://hn.algolia.com/favicon.ico";
|
||||
updateInterval = 24 * 60 * 60 * 1000;
|
||||
definedAliases = ["@hn"];
|
||||
definedAliases = [ "@hn" ];
|
||||
|
||||
url = [
|
||||
{
|
||||
|
@ -512,9 +522,9 @@ in {
|
|||
];
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/html" = ["firefox.desktop"];
|
||||
"text/xml" = ["firefox.desktop"];
|
||||
"x-scheme-handler/http" = ["firefox.desktop"];
|
||||
"x-scheme-handler/https" = ["firefox.desktop"];
|
||||
"text/html" = [ "firefox.desktop" ];
|
||||
"text/xml" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue