mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 04:13:55 -05:00
aly: add default firefox profile
This commit is contained in:
parent
396cad8c1c
commit
0d4bed4e38
127
homes/aly.nix
127
homes/aly.nix
|
@ -8,9 +8,11 @@
|
|||
}: {
|
||||
home = {
|
||||
homeDirectory = "/home/aly";
|
||||
|
||||
file."${config.xdg.cacheHome}/keepassxc/keepassxc.ini".text = lib.generators.toINI {} {
|
||||
General.LastActiveDatabase = "${config.home.homeDirectory}/sync/Passwords.kdbx";
|
||||
};
|
||||
|
||||
packages = with pkgs; [
|
||||
browsh
|
||||
curl
|
||||
|
@ -27,12 +29,137 @@
|
|||
webcord
|
||||
wget
|
||||
];
|
||||
|
||||
stateVersion = "24.05";
|
||||
username = "aly";
|
||||
};
|
||||
|
||||
programs = {
|
||||
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 = {
|
||||
enable = true;
|
||||
userName = "Aly Raffauf";
|
||||
|
|
Loading…
Reference in a new issue