feat: restructure and move apps into their own configs (#2)
This commit is contained in:
64
home/gui-programs/firefox.nix
Normal file
64
home/gui-programs/firefox.nix
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
device,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.firefox = {
|
||||
enable = pkgs.stdenv.isLinux;
|
||||
profiles.default = {
|
||||
# userChrome =
|
||||
# /*
|
||||
# css
|
||||
# */
|
||||
# ''
|
||||
# @import url(${pkgs.csshacks}/chrome/toolbars_below_content.css);
|
||||
# @import url(${pkgs.csshacks}/chrome/scrollable_menupopups.css);
|
||||
# @import url(${pkgs.csshacks}/chrome/linux_gtk_window_control_patch.css);
|
||||
# @import url(${pkgs.csshacks}/chrome/window_control_placeholder_support.css);
|
||||
# '';
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
privacy-badger
|
||||
violentmonkey
|
||||
tridactyl
|
||||
clearurls
|
||||
onepassword-password-manager
|
||||
ublock-origin
|
||||
i-dont-care-about-cookies
|
||||
keepa
|
||||
sponsorblock
|
||||
];
|
||||
};
|
||||
nativeMessagingHosts = [pkgs.tridactyl-native];
|
||||
policies = {
|
||||
DisableFirefoxStudies = true;
|
||||
DisablePocket = true;
|
||||
DisableTelemetry = true;
|
||||
FeatureRecommendations = false;
|
||||
SkipOnboarding = true;
|
||||
Preferences = {
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = {
|
||||
Value = true;
|
||||
Status = "default";
|
||||
};
|
||||
"browser.urlbar.suggest.calculator" = {
|
||||
Value = true;
|
||||
Status = "default";
|
||||
};
|
||||
"extensions.quarantinedDomains.enabled" = {
|
||||
Value = false;
|
||||
Status = "default";
|
||||
};
|
||||
};
|
||||
FirefoxHome = {
|
||||
"Search" = true;
|
||||
"TopSites" = false;
|
||||
"SponsoredTopSites" = false;
|
||||
"Highlights" = false;
|
||||
"Pocket" = false;
|
||||
"SponsoredPocket" = false;
|
||||
"Snippets" = false;
|
||||
"Locked" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user