1
Fork 0

firefox: Nix options search and fix chrome persist

This commit is contained in:
caem 2024-06-26 15:21:42 +02:00
parent edef6fdd84
commit ea96e9d24c
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 18 additions and 5 deletions

View file

@ -134,8 +134,9 @@
profiles.shaga = { profiles.shaga = {
isDefault = true; isDefault = true;
search = { search = {
force = true;
default = "Gruble"; default = "Gruble";
order = [ "Gruble" "Nix Packages" "Home-manager options" ]; order = [ "Gruble" "Nix Packages" "Nix Options" "Home-manager options" ];
engines = { engines = {
"Gruble" = { "Gruble" = {
urls = [ urls = [
@ -155,6 +156,7 @@
template = "https://search.nixos.org/packages"; template = "https://search.nixos.org/packages";
params = [ params = [
{ name = "type"; value = "packages"; } { name = "type"; value = "packages"; }
{ name = "channel"; value = "unstable"; }
{ name = "query"; value = "{searchTerms}"; } { name = "query"; value = "{searchTerms}"; }
]; ];
}]; }];
@ -162,6 +164,19 @@
updateInterval = 7 * 24 * 60 * 60 * 1000; # Weekly updateInterval = 7 * 24 * 60 * 60 * 1000; # Weekly
definedAliases = [ "@np" ]; definedAliases = [ "@np" ];
}; };
"Nix Options" = {
urls = [{
template = "https://search.nixos.org/options";
params = [
{ name = "type"; value = "packages"; }
{ name = "channel"; value = "unstable"; }
{ name = "query"; value = "{searchTerms}"; }
];
}];
iconUpdateURL = "https://nixos.org/favicon.png";
updateInterval = 7 * 24 * 60 * 60 * 1000; # Weekly
definedAliases = [ "@no" ];
};
"Home-manager options" = { "Home-manager options" = {
urls = [{ urls = [{
template = "https://home-manager-options.extranix.com"; template = "https://home-manager-options.extranix.com";
@ -175,14 +190,13 @@
definedAliases = [ "@ho" ]; definedAliases = [ "@ho" ];
}; };
}; };
force = true;
}; };
extensions = with config.nur.repos.rycee.firefox-addons; [ extensions = with config.nur.repos.rycee.firefox-addons; [
ublock-origin ublock-origin
image-search-options image-search-options
bitwarden bitwarden
skip-redirect translate-web-pages
]; ];
settings = { settings = {
@ -329,7 +343,6 @@
"userChrome.theme.system_default" = true; "userChrome.theme.system_default" = true;
"userChrome.theme.proton_color" = true; "userChrome.theme.proton_color" = true;
"userChrome.theme.proton_chrome" = true; "userChrome.theme.proton_chrome" = true;
"userChrome.theme.fully_color" = true; "userChrome.theme.fully_color" = true;
"userChrome.theme.fully_dark" = true; "userChrome.theme.fully_dark" = true;
"userChrome.decoration.cursor" = true; "userChrome.decoration.cursor" = true;

View file

@ -21,7 +21,7 @@
{ directory = ".local/share/keyrings"; mode = "0700"; } { directory = ".local/share/keyrings"; mode = "0700"; }
".local/share/direnv" ".local/share/direnv"
".mozilla/firefox/shaga/bookmarkbackups" ".mozilla/firefox/shaga/bookmarkbackups"
".mozillla/firefox/shaga/chrome" ".mozilla/firefox/shaga/chrome"
".config/Signal" ".config/Signal"
".config/vesktop" ".config/vesktop"
".config/tutanota-desktop" ".config/tutanota-desktop"