aly: add default firefox profile

This commit is contained in:
Aly Raffauf 2024-06-24 00:39:36 -04:00
parent 396cad8c1c
commit 0d4bed4e38

View file

@ -8,9 +8,11 @@
}: { }: {
home = { home = {
homeDirectory = "/home/aly"; homeDirectory = "/home/aly";
file."${config.xdg.cacheHome}/keepassxc/keepassxc.ini".text = lib.generators.toINI {} { file."${config.xdg.cacheHome}/keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
General.LastActiveDatabase = "${config.home.homeDirectory}/sync/Passwords.kdbx"; General.LastActiveDatabase = "${config.home.homeDirectory}/sync/Passwords.kdbx";
}; };
packages = with pkgs; [ packages = with pkgs; [
browsh browsh
curl curl
@ -27,12 +29,137 @@
webcord webcord
wget wget
]; ];
stateVersion = "24.05"; stateVersion = "24.05";
username = "aly"; username = "aly";
}; };
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
firefox = {
profiles.default = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
augmented-steam
omnivore
sidebery
sponsorblock
zoom-redirector
];
search = {
default = "DuckDuckGo";
force = true;
engines = {
"Nix Packages" = {
urls = [
{
template = "https://search.nixos.org/packages";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}
];
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = ["!nix"];
};
"Bing" = {
metaData = {
hidden = true;
alias = "!bing";
};
};
"Google" = {
metaData = {
hidden = true;
alias = "!google";
};
};
};
};
settings = {
"permissions.default.desktop-notification" = 2;
"network.cookie.cookieBehavior" = 1;
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.global-checkbox.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"services.sync.prefs.sync.browser.uiCustomization.state" = true;
"browser.uiCustomization.state" = ''
{
"placements": {
"widget-overflow-fixed-list": [],
"unified-extensions-area": [
"ublock0_raymondhill_net-browser-action",
"sponsorblocker_ajay_app-browser-action",
"_019b606a-6f61-4d01-af2a-cea528f606da_-browser-action",
"jid1-bofifl9vbdl2zq_jetpack-browser-action"
],
"nav-bar": [
"back-button",
"forward-button",
"stop-reload-button",
"customizableui-special-spring1",
"urlbar-container",
"customizableui-special-spring2",
"downloads-button",
"save-extension_omnivore_app-browser-action",
"keepassxc-browser_keepassxc_org-browser-action",
"_3c078156-979c-498b-8990-85f7987dd929_-browser-action",
"unified-extensions-button",
"fxa-toolbar-menu-button"
],
"toolbar-menubar": [
"menubar-items"
],
"TabsToolbar": [
"firefox-view-button",
"tabbrowser-tabs",
"new-tab-button",
"alltabs-button"
],
"PersonalToolbar": [
"personal-bookmarks"
]
},
"seen": [
"save-extension_omnivore_app-browser-action",
"_019b606a-6f61-4d01-af2a-cea528f606da_-browser-action",
"sponsorblocker_ajay_app-browser-action",
"developer-button",
"keepassxc-browser_keepassxc_org-browser-action",
"ublock0_raymondhill_net-browser-action",
"jid1-bofifl9vbdl2zq_jetpack-browser-action",
"_3c078156-979c-498b-8990-85f7987dd929_-browser-action"
],
"dirtyAreaCache": [
"unified-extensions-area",
"nav-bar",
"toolbar-menubar",
"TabsToolbar",
"PersonalToolbar"
],
"currentVersion": 20,
"newElementCount": 4
}
'';
};
};
};
git = { git = {
enable = true; enable = true;
userName = "Aly Raffauf"; userName = "Aly Raffauf";