This commit is contained in:
joy 2024-07-12 17:08:03 +02:00
parent 1fdfb7387a
commit 0892632fe3
3 changed files with 97 additions and 35 deletions

View file

@ -163,11 +163,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1720670590, "lastModified": 1720756997,
"narHash": "sha256-bOwqVHszU6wu5QbsKVyyIx7xeuH3mwkwaESsnJ2CFq0=", "narHash": "sha256-nu0kRXP1dq0KYgt0ISVOWQFauyqB6soL10q3m7G6QpA=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "3dee51f30be5971081247f8d7d7f290abbfbfe2c", "rev": "6b0aa08643c6b403e387da201eaf4bc0e04db93a",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -353,11 +353,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720646128, "lastModified": 1720734513,
"narHash": "sha256-BivO5yIQukDlJL+1875Sqf3GuOPxZDdA48dYDi3PkL8=", "narHash": "sha256-neWQ8eNtLTd+YMesb7WjKl1SVCbDyCm46LUgP/g/hdo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c085b984ff2808bf322f375b10fea5a415a9c43d", "rev": "90ae324e2c56af10f20549ab72014804a3064c7f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -491,11 +491,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1720702748, "lastModified": 1720735595,
"narHash": "sha256-cmOvEwKQx1vs/Sx4pE4exqPMvOwnI/5DrinkQG8X1qY=", "narHash": "sha256-TX7PZY80h22+i01d2M1/50gfdzbvqYpmE7+s13FJnJ4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "ca01a644ef0ef924dd0c6b2b54c4f2a8019fe5cf", "rev": "53e85da2409ddfeef27e8cdc9c020433614329f9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,53 +1,115 @@
{ pkgs, inputs, ... }: {
inputs, ... }:
{ {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles.joy = { profiles.joy = {
search.engines = { search.engines = {
"4get" = { "4get" = {
urls = [{ urls = [{
template = "https://search.nixos.org/packages"; template = "https://4get.ch/web";
params = [ params = [
{ name = "type"; value = "packages"; } { name = "s"; value = "{searchTerms}"; }
{ name = "query"; value = "{searchTerms}"; }
]; ];
}]; }];
definedAliases = [ "@4get" ];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
}; };
}; };
search.force = true; search.force = true;
search.default = "4get";
bookmarks = [{
name = "Nix sites";
toolbar = true;
bookmarks = [ bookmarks = [
{ { name = "Packages"; url = "https://search.nixos.org/packages?channel=unstable"; }
name = "wikipedia"; { name = "Homemanager"; url = "https://nix-community.github.io/home-manager/options.xhtml"; }
tags = [ "wiki" ]; { name = "Stylix"; url = "https://stylix.danth.me/options/nixos.html"; }
keyword = "wiki"; { name = "Socials Joy"; url = "https://joygnu.org/"; }
url = "https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go"; { name = "Wallpapers"; url = "https://wallpapers.joygnu.org/"; }
} { name = "Server"; url = "https://avoro.eu/cp/clientarea.php?action=productdetails&id=27920"; }
{ name = "Domain"; url = "https://registrar.epik.com/domain-management/host-records"; }
{ name = "Translate"; url = "https://simplytranslate.org/"; }
{ name = "Syncthing"; url = "http://localhost:8384/"; }
{ name = "GitHub"; url = "https://github.com/"; }
{ name = "Codeberg"; url = "https://codeberg.org/"; }
{ name = "Startpage"; url = "https://www.startpage.com/"; }
{ name = "DuckDuckGo"; url = "https://duckduckgo.com/"; }
{ name = "Gamepad Tester"; url = "https://gamepad-tester.com/"; }
{ name = "Zophar's Domain"; url = "https://www.zophar.net/music"; }
{ name = "Cmus Playlist Guide"; url = "https://unix.stackexchange.com/questions/328856/how-can-i-create-a-playlist-and-add-songs-to-it-in-cmus"; }
{ name = "Spotify Downloader"; url = "https://spotdl.io/"; }
]; ];
}];
settings = { settings = {
"dom.security.https_only_mode" = true; "dom.security.https_only_mode" = true;
"browser.download.panel.shown" = true; "browser.download.panel.shown" = true;
"identity.fxaccounts.enabled" = false; "identity.fxaccounts.enabled" = false;
"signon.rememberSignons" = false; "signon.rememberSignons" = false;
}; "browser.urlbar.pocket.featureGate" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
userChrome = '' "browser.shell.checkDefaultBrowser" = false;
/* some css */ "browser.shell.defaultBrowserCheckCount" = 1;
"browser.startup.homepage" = "moz-extension://f3ba075e-5213-4eca-b67c-470714db5333/index.html";
"privacy.trackingprotection.enabled" = true;
"browser.uiCustomization.state" =
''
{
"placements": {
"widget-overflow-fixed-list": [],
"nav-bar": [
"back-button",
"forward-button",
"stop-reload-button",
"urlbar-container",
"downloads-button",
"library-button",
"ublock0_raymondhill_net-browser-action",
"addon_darkreader_org-browser-action",
"_testpilot-containers-browser-action"
],
"toolbar-menubar": [
"menubar-items"
],
"TabsToolbar": [
"tabbrowser-tabs",
"new-tab-button",
"alltabs-button"
],
"PersonalToolbar": [
"import-button",
"personal-bookmarks"
]
},
"seen": [
"save-to-pocket-button",
"developer-button",
"ublock0_raymondhill_net-browser-action",
"addon_darkreader_org-browser-action",
"_testpilot-containers-browser-action"
],
"dirtyAreaCache": [
"nav-bar",
"PersonalToolbar",
"toolbar-menubar",
"TabsToolbar",
"widget-overflow-fixed-list"
],
"currentVersion": 18,
"newElementCount": 4
}
''; '';
};
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [ extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
bitwarden
ublock-origin ublock-origin
sponsorblock
darkreader darkreader
tridactyl libredirect
youtube-shorts-block search-by-image
decentraleyes
]; ];
}; };

View file

@ -45,7 +45,7 @@
# launch Apps # launch Apps
"$mod,TAB, exec, alacritty" "$mod,TAB, exec, alacritty"
"$mod, E, exec, nemo" "$mod, E, exec, nemo"
"$mod, S, exec, brave" "$mod, S, exec, firefox"
"$mod, X, exec, keepassxc" "$mod, X, exec, keepassxc"
"$mod, D, exec, alacritty -e screen -r cmus" "$mod, D, exec, alacritty -e screen -r cmus"
"$mod, F, exec, freetube" "$mod, F, exec, freetube"