configuration.nix/home/modules/programs/firefox/default.nix

75 lines
1.8 KiB
Nix
Raw Permalink Normal View History

{ pkgs, ... }: {
2023-11-26 17:00:16 +01:00
programs.firefox = {
enable = true;
profiles.ivand = {
id = 0;
search.default = "DuckDuckGo";
bookmarks = [
{
name = "home-options";
2024-05-07 11:35:51 +02:00
url = "https://nix-community.github.io/home-manager/options.xhtml";
2023-11-26 17:00:16 +01:00
}
2024-05-17 13:49:41 +02:00
{
name = "nixvim-docs";
url = "https://nix-community.github.io/nixvim/";
}
2023-11-26 17:00:16 +01:00
];
settings = {
"general.smoothScroll" = true;
"signon.rememberSignons" = false;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
2023-11-28 08:05:59 +01:00
"layout.frame_rate" = 120;
2023-11-26 17:00:16 +01:00
};
};
policies = {
CaptivePortal = false;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
DisableFirefoxAccounts = true;
OfferToSaveLogins = false;
OfferToSaveLoginsDefault = false;
PasswordManagerEnabled = false;
FirefoxHome = {
Search = true;
Pocket = false;
Snippets = false;
TopSites = false;
Highlights = false;
};
UserMessaging = {
ExtensionRecommendations = false;
SkipOnboarding = true;
};
Handlers = {
schemes = {
mailto = {
action = "useHelperApp";
ask = false;
handlers = [
{
name = "RoundCube";
uriTemplate = "https://mail.idimitrov.dev/?_task=mail&_action=compose&_to=%s";
}
];
};
};
};
};
};
2023-12-01 17:09:45 +01:00
home = {
file.".mozilla/native-messaging-hosts/gpgmejson.json".text = builtins.toJSON {
name = "gpgmejson";
description = "Integration with GnuPG";
path = "${pkgs.gpgme.dev}/bin/gpgme-json";
type = "stdio";
allowed_extensions = [
"jid1-AQqSMBYb0a8ADg@jetpack"
];
};
};
2023-11-26 17:00:16 +01:00
}