New modules for home manager
This commit is contained in:
parent
6777fca56b
commit
5bd6bb27fe
5 changed files with 375 additions and 0 deletions
86
modules/home/firefox.nix
Normal file
86
modules/home/firefox.nix
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
# Next release of HomeManger
|
||||
# languagePacks = [
|
||||
# "en-US"
|
||||
# "it"
|
||||
# ];
|
||||
|
||||
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
|
||||
|
||||
profiles.default = {
|
||||
name = "Default";
|
||||
# Use Firefox Sync instead
|
||||
# extensions = [
|
||||
# "ublock-origin"
|
||||
# "augmented-steam"
|
||||
# "bitwarden-password-manager"
|
||||
# "bloody-vikings"
|
||||
# "private-relay"
|
||||
# "flagfox"
|
||||
# "imagus-mod"
|
||||
# "materialdesignicons-picker"
|
||||
# "old-reddit-redirect"
|
||||
# "reddit-enhancement-suite"
|
||||
# "tampermonkey"
|
||||
# "vimium-ff"
|
||||
# "xirvik-torrent-to-seedbox-uplo"
|
||||
# ];
|
||||
|
||||
search = {
|
||||
default = "DuckDuckGo";
|
||||
privateDefault = "DuckDuckGo";
|
||||
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 = [ "@np" ];
|
||||
};
|
||||
|
||||
"NixOS Wiki" = {
|
||||
urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
|
||||
iconUpdateURL = "https://wiki.nixos.org/favicon.png";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = [ "@nw" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
settings = {
|
||||
# Pazpi config
|
||||
"browser.backspace_action" = 0; # Backspace previous tab
|
||||
"browser.translation.neverForLanguages" = "it";
|
||||
"browser.translations.neverTranslateLanguages" = "it";
|
||||
|
||||
"extensions.activeThemeID" = "firefox-compact@mozilla.org";
|
||||
|
||||
# For Firefox GNOME theme:
|
||||
# "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
# "browser.tabs.drawInTitlebar" = true;
|
||||
# "svg.context-properties.content.enabled" = true;
|
||||
};
|
||||
# userChrome = ''
|
||||
# @import "firefox-gnome-theme/userChrome.css";
|
||||
# @import "firefox-gnome-theme/theme/colors/dark.css";
|
||||
# '';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue