nix/home/firefox/default.nix

122 lines
7.7 KiB
Nix
Raw Normal View History

2024-07-24 19:34:09 +02:00
{ inputs, ... }:
2024-07-09 18:24:48 +02:00
{
2024-07-24 19:31:25 +02:00
imports = [
2024-07-24 19:34:09 +02:00
./user.nix
2024-07-24 19:31:25 +02:00
];
2024-07-09 18:24:48 +02:00
programs.firefox = {
enable = true;
profiles.joy = {
search.engines = {
"4get" = {
urls = [{
2024-07-12 17:08:03 +02:00
template = "https://4get.ch/web";
2024-07-09 18:24:48 +02:00
params = [
2024-07-12 17:08:03 +02:00
{ name = "s"; value = "{searchTerms}"; }
2024-07-09 18:24:48 +02:00
];
}];
2024-07-12 17:08:03 +02:00
definedAliases = [ "@4get" ];
2024-07-09 18:24:48 +02:00
};
};
search.force = true;
2024-07-12 17:08:03 +02:00
search.default = "4get";
2024-07-09 18:24:48 +02:00
2024-07-12 17:08:03 +02:00
bookmarks = [{
name = "Nix sites";
toolbar = true;
bookmarks = [
{ name = "Packages"; url = "https://search.nixos.org/packages?channel=unstable"; }
{ name = "Homemanager"; url = "https://nix-community.github.io/home-manager/options.xhtml"; }
{ name = "Stylix"; url = "https://stylix.danth.me/options/nixos.html"; }
{ name = "Socials Joy"; url = "https://joygnu.org/"; }
{ 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 = "Gamepad Tester"; url = "https://gamepad-tester.com/"; }
{ name = "Zophar's Domain"; url = "https://www.zophar.net/music"; }
2024-07-13 12:51:32 +02:00
{ name = "Spotify Downloader"; url = "https://spotify-downloader.com/"; }
2024-07-15 20:30:05 +02:00
{ name = "Hyprland"; url = "https://wiki.hyprland.org/"; }
2024-07-20 14:33:01 +02:00
{ name = "Monkeytype"; url = "https://monkeytype.com/"; }
2024-08-02 11:00:11 +02:00
{ name = "piped"; url = "https://piped.video/feed/"; }
2024-07-12 17:08:03 +02:00
];
}];
2024-07-20 14:33:01 +02:00
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
ublock-origin
darkreader
libredirect
search-by-image
decentraleyes
];
2024-07-09 18:24:48 +02:00
settings = {
"dom.security.https_only_mode" = true;
"browser.download.panel.shown" = true;
"identity.fxaccounts.enabled" = false;
"signon.rememberSignons" = false;
2024-07-12 17:08:03 +02:00
"browser.urlbar.pocket.featureGate" = false;
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.shell.checkDefaultBrowser" = false;
"browser.shell.defaultBrowserCheckCount" = 1;
"browser.startup.homepage" = "moz-extension://f3ba075e-5213-4eca-b67c-470714db5333/index.html";
2024-07-20 14:33:01 +02:00
#MTAB_SAVE_FORMAT_JTIyJTdCJTVDJTIydXNlciU1QyUyMiUzQSU3QiU1QyUyMm5hbWUlNUMlMjIlM0ElNUMlMjJKb3klNUMlMjIlN0QlMkMlNUMlMjJ0aXRsZSU1QyUyMiUzQSU3QiU1QyUyMmRlZmF1bHRUaXRsZSU1QyUyMiUzQSU1QyUyMkpveSU1QyUyMiUyQyU1QyUyMmR5bmFtaWMlNUMlMjIlM0ElN0IlNUMlMjJlbmFibGVkJTVDJTIyJTNBdHJ1ZSU3RCU3RCUyQyU1QyUyMm1lc3NhZ2UlNUMlMjIlM0ElN0IlNUMlMjJlbmFibGVkJTVDJTIyJTNBdHJ1ZSUyQyU1QyUyMmZvbnQlNUMlMjIlM0ElNUMlMjIlNUMlNUMlNUMlMjJKZXRicmFpbnMtTW9uby1SZWd1bGFyLUZpeGVkJTVDJTVDJTVDJTIyJTVDJTIyJTJDJTVDJTIydGV4dENvbG9yJTVDJTIyJTNBJTVDJTIydW5kZWZpbmVkJTVDJTIyJTJDJTVDJTIydHlwZSU1QyUyMiUz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dEJTVEJTdEJTdEJTIy
2024-07-12 17:08:03 +02:00
"privacy.trackingprotection.enabled" = true;
2024-07-13 10:50:40 +02:00
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
2024-07-12 17:08:03 +02:00
"browser.uiCustomization.state" =
''
{
"placements": {
"widget-overflow-fixed-list": [],
"nav-bar": [
"back-button",
"forward-button",
"stop-reload-button",
"urlbar-container",
"downloads-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": [
"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
}
'';
2024-07-09 18:24:48 +02:00
2024-07-12 17:08:03 +02:00
};
2024-07-09 18:24:48 +02:00
};
};
}