❄️ Nix configurations
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update firefox

+87 -1
+85
home/common/firefox.nix
··· 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: { 7 + 8 + programs.firefox = { 9 + enable = true; 10 + 11 + languagePacks = [ "de" "en-US" "fr"]; 12 + 13 + policies = { 14 + BlockAboutConfig = true; 15 + DefaultDownloadDirectory = "\${home}/Downloads"; 16 + DisableTelemetry = true; 17 + DisableFirefoxStudies = true; 18 + EnableTrackingProtection = { 19 + Value= true; 20 + Locked = true; 21 + Cryptomining = true; 22 + Fingerprinting = true; 23 + }; 24 + OverrideFirstRunPage = ""; 25 + OverridePostUpdatePage = ""; 26 + DisablePocket = true; 27 + DisableFirefoxAccounts = true; 28 + DisableAccounts = true; 29 + DisableFirefoxScreenshots = true; 30 + DontCheckDefaultBrowser = true; 31 + DisplayBookmarksToolbar = "always"; 32 + SearchBar = "unified"; 33 + }; 34 + 35 + profiles = { 36 + "alex" = { 37 + id = 0; 38 + isDefault = true; 39 + 40 + settings = { 41 + "browser.contentblocking.category" = "strict"; 42 + "extensions.pocket.enabled" = false; 43 + "extensions.screenshots.disabled" = true; 44 + "browser.startup.homepage" = "https://start.duckduckgo.com"; 45 + 46 + "browser.newtabpage.activity-stream.feeds.section.highlights" = false; 47 + "browser.newtabpage.activity-stream.showSponsored" = false; 48 + "browser.newtabpage.activity-stream.system.showSponsored" = false; 49 + "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; 50 + }; 51 + 52 + search = { 53 + 54 + default = "DuckDuckGo"; 55 + force = true; 56 + engines = { 57 + 58 + "Nix Packages" = { 59 + urls = [{ 60 + template = "https://search.nixos.org/packages"; 61 + params = [ 62 + { name = "query"; value = "{searchTerms}"; } 63 + ]; 64 + }]; 65 + icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; 66 + definedAliases = [ "@np" ]; 67 + }; 68 + "Nix Options" = { 69 + definedAliases = [ "@no" ]; 70 + urls = [{ 71 + template = "https://search.nixos.org/options"; 72 + params = [ 73 + { name = "query"; value = "{searchTerms}"; } 74 + ]; 75 + }]; 76 + }; 77 + 78 + "Bing".metaData.hidden = true; 79 + "Google".metaData.alias = "@g"; 80 + }; 81 + }; 82 + }; 83 + }; 84 + }; 85 + }
+1
home/otter/default.nix
··· 10 10 #../common/sway.nix 11 11 ../common/gnome.nix 12 12 ../common/vscode.nix 13 + ../common/firefox.nix 13 14 14 15 ../common/dev 15 16 ../common/dev/blog.nix
+1 -1
nixos/otter/configuration.nix
··· 102 102 }; 103 103 104 104 # Install firefox. 105 - programs.firefox.enable = true; 105 + # programs.firefox.enable = true; 106 106 107 107 # Allow unfree packages 108 108 nixpkgs.config.allowUnfree = true;