Compare commits

..

4 commits

3 changed files with 21 additions and 14 deletions

View file

@ -103,10 +103,16 @@ in
hex = mkStrOption "D9"; hex = mkStrOption "D9";
}; };
# cursor = {
# name = mkStrOption "Adwaita";
# package = mkPkgOption pkgs.adwaita-icon-theme;
# size = mkIntOption 14;
# };
cursor = { cursor = {
name = mkStrOption "Adwaita"; name = mkStrOption "phinger-cursors";
package = mkPkgOption pkgs.adwaita-icon-theme; package = mkPkgOption pkgs.phinger-cursors;
size = mkIntOption 14; size = mkIntOption 24;
}; };
window = { window = {

View file

@ -14,6 +14,16 @@ let
(mkBookmark "Cloud" "https://cloud.voronind.com") (mkBookmark "Cloud" "https://cloud.voronind.com")
]; ];
searchEngines = [
(mkSearchEngine "s" "SearX" "https://search.voronind.com/search?q={searchTerms}")
(mkSearchEngine "ru" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}")
(mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}")
(mkSearchEngine "no" "NixOS Options" "https://search.nixos.org/options?query={searchTerms}")
(mkSearchEngine "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}")
(mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}")
(mkSearchEngine "hm" "Home Manager" "https://home-manager-options.extranix.com/?query={searchTerms}")
];
extensions = { extensions = {
"addon@darkreader.org" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi"; "addon@darkreader.org" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
"cliget@zaidabdulla.com" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/cliget/latest.xpi"; "cliget@zaidabdulla.com" = mkExtension "https://addons.mozilla.org/firefox/downloads/latest/cliget/latest.xpi";
@ -28,15 +38,6 @@ let
# "queryamoid@kaply.com" = mkExtension "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi"; # "queryamoid@kaply.com" = mkExtension "https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
}; };
searchEngines = [
(mkSearchEngine "s" "SearX" "https://search.voronind.com/search?q={searchTerms}")
(mkSearchEngine "ru" "RuTracker" "https://rutracker.org/forum/tracker.php?nm={searchTerms}")
(mkSearchEngine "re" "Reddit" "https://www.reddit.com/search/?q={searchTerms}")
(mkSearchEngine "no" "NixOS Options" "https://search.nixos.org/options?query={searchTerms}")
(mkSearchEngine "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}")
(mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}")
];
extraConfig = '' extraConfig = ''
// Bookmarks. // Bookmarks.
user_pref("browser.microsummary.enabled", true); user_pref("browser.microsummary.enabled", true);
@ -168,7 +169,7 @@ in
# NOTE: `firefox-esr` edition is required to change search engines. # NOTE: `firefox-esr` edition is required to change search engines.
SearchEngines = { SearchEngines = {
Add = searchEngines; Add = searchEngines;
Default = "Searx"; Default = "SearX";
PreventInstalls = true; PreventInstalls = true;
Remove = [ Remove = [
"Bing" "Bing"

View file

@ -98,7 +98,7 @@
common = with pkgs; [ common = with pkgs; [
evince # Document viewer. evince # Document viewer.
chromium # Just in case I ever need it. ungoogled-chromium # Just in case I ever need it.
gimp # Image manipulation program. gimp # Image manipulation program.
gnome-calculator # Calculator. gnome-calculator # Calculator.
gparted # GUI disk utility just in case. gparted # GUI disk utility just in case.