(T)im's N(ix) Flake, Multi-Host Configurations for all of my machines! 74k1.sh/
nixos nix
0
fork

Configure Feed

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

feat(waterfox): add config

74k1 0c9434ef 897f8659

+488 -14
+54 -13
flake.lock
··· 30 30 "nixpkgs-wine": "nixpkgs-wine", 31 31 "on-linux": "on-linux", 32 32 "plugin-loader": "plugin-loader", 33 - "treefmt-nix": "treefmt-nix" 33 + "treefmt-nix": "treefmt-nix", 34 + "wine": "wine" 34 35 }, 35 36 "locked": { 36 - "lastModified": 1772265981, 37 - "narHash": "sha256-JoXciqQCwHdIvENurNwgc6jH1e/d5xcjn9ybYNe+YQI=", 37 + "lastModified": 1772265951, 38 + "narHash": "sha256-gtnCLLQ1B1e8TGexWfF1DWGF5Z8uptUGULvSJWbzjd4=", 38 39 "owner": "mrshmllow", 39 40 "repo": "affinity-nix", 40 - "rev": "cd7bed5b72ceeb50b862c550cc16c6f1b11a2d84", 41 + "rev": "cf48eac21b116d26f60b536e617393fe79d0b4da", 41 42 "type": "github" 42 43 }, 43 44 "original": { 44 45 "owner": "mrshmllow", 46 + "ref": "push-orwvsztwlunu", 45 47 "repo": "affinity-nix", 46 48 "type": "github" 47 49 } ··· 1310 1312 ] 1311 1313 }, 1312 1314 "locked": { 1313 - "lastModified": 1772985285, 1314 - "narHash": "sha256-wEEmvfqJcl9J0wyMgMrj1TixOgInBW/6tLPhWGoZE3s=", 1315 + "lastModified": 1773810247, 1316 + "narHash": "sha256-6Vz1Thy/1s7z+Rq5OfkWOBAdV4eD+OrvDs10yH6xJzQ=", 1315 1317 "owner": "nix-community", 1316 1318 "repo": "home-manager", 1317 - "rev": "5be5d8245cbc7bc0c09fbb5f38f23f223c543f85", 1319 + "rev": "d47357a4c806d18a3e853ad2699eaec3c01622e7", 1318 1320 "type": "github" 1319 1321 }, 1320 1322 "original": { ··· 1342 1344 "original": { 1343 1345 "owner": "nix-community", 1344 1346 "repo": "home-manager", 1347 + "type": "github" 1348 + } 1349 + }, 1350 + "hythera-waterfox": { 1351 + "locked": { 1352 + "lastModified": 1771964427, 1353 + "narHash": "sha256-KlcJWQdbw0r3O/EXIH/L6fYa/7k06b2RoPg3klu6Jtk=", 1354 + "owner": "hythera", 1355 + "repo": "nixpkgs", 1356 + "rev": "09c331c3041ffdc00a5f2c218429bc1332cbf34c", 1357 + "type": "github" 1358 + }, 1359 + "original": { 1360 + "owner": "hythera", 1361 + "ref": "pkgs/waterfox/init", 1362 + "repo": "nixpkgs", 1345 1363 "type": "github" 1346 1364 } 1347 1365 }, ··· 2331 2349 }, 2332 2350 "nixpkgs-master": { 2333 2351 "locked": { 2334 - "lastModified": 1772999613, 2335 - "narHash": "sha256-y0Srqjl0xbLUDKnoFl1u+dckvWGV6VHquMu71Mw+2WY=", 2352 + "lastModified": 1773518610, 2353 + "narHash": "sha256-RZ34ZV44uFXtUnjRkBj2h6F2KkqBnUBTkOyJmuXwlWY=", 2336 2354 "owner": "NixOS", 2337 2355 "repo": "nixpkgs", 2338 - "rev": "6a7aef30796dcabe330f1f1061324fcf6fade2c8", 2356 + "rev": "45f9641a45a5148c06cccb76acd03d0b1a586c0f", 2339 2357 "type": "github" 2340 2358 }, 2341 2359 "original": { ··· 3141 3159 "firefox-addons": "firefox-addons", 3142 3160 "flake-parts": "flake-parts_3", 3143 3161 "home-manager": "home-manager_2", 3162 + "hythera-waterfox": "hythera-waterfox", 3144 3163 "musnix": "musnix", 3145 3164 "niri": "niri", 3146 3165 "nix-colors": "nix-colors", ··· 3952 3971 "tixpkgs": { 3953 3972 "inputs": { 3954 3973 "flake-parts": "flake-parts_8", 3974 + "home-manager": [ 3975 + "home-manager" 3976 + ], 3955 3977 "nixpkgs": [ 3956 3978 "nixpkgs" 3957 3979 ] 3958 3980 }, 3959 3981 "locked": { 3960 - "lastModified": 1773336318, 3961 - "narHash": "sha256-FvLCi3zpIzJAhnyB85xltJ3xmTnhSL7FabEa+FIdiBE=", 3982 + "lastModified": 1773842804, 3983 + "narHash": "sha256-k7fMIakpoeNF9yQtmFtNZdnM0/sXYxlQRTes1j2o0qg=", 3962 3984 "owner": "74k1", 3963 3985 "repo": "tixpkgs", 3964 - "rev": "612595ceb5eb04fb34275a1aeb117bddbad5bf8e", 3986 + "rev": "5dfa1eb65473cda92696aa7b2c56fa1c0ea9f0e3", 3965 3987 "type": "github" 3966 3988 }, 3967 3989 "original": { ··· 4238 4260 "owner": "rasmus-kirk", 4239 4261 "repo": "website-builder", 4240 4262 "type": "github" 4263 + } 4264 + }, 4265 + "wine": { 4266 + "flake": false, 4267 + "locked": { 4268 + "host": "gitlab.winehq.org", 4269 + "lastModified": 1771620632, 4270 + "narHash": "sha256-Ma1lLS84aN7KCT3bOdAslDv2Cd/pUwPkKsW+KMlTnXk=", 4271 + "owner": "wine", 4272 + "repo": "wine", 4273 + "rev": "222c976140d1b66c71769296f856f6523782b6c9", 4274 + "type": "gitlab" 4275 + }, 4276 + "original": { 4277 + "host": "gitlab.winehq.org", 4278 + "owner": "wine", 4279 + "ref": "wine-11.3", 4280 + "repo": "wine", 4281 + "type": "gitlab" 4241 4282 } 4242 4283 }, 4243 4284 "wired": {
+5 -1
flake.nix
··· 18 18 # url = "git+file:///home/taki/dev/tixpkgs"; 19 19 inputs = { 20 20 nixpkgs.follows = "nixpkgs"; 21 + home-manager.follows = "home-manager"; 21 22 # quadlet.follows = "quadlet"; 22 23 }; 23 24 }; ··· 34 35 }; 35 36 the-argus-emptty = { 36 37 url = "github:the-argus/nixpkgs/emptty/module"; 38 + }; 39 + hythera-waterfox = { 40 + url = "github:hythera/nixpkgs/pkgs/waterfox/init"; 37 41 }; 38 42 # -- 39 43 flake-parts = { ··· 168 172 inputs.home-manager.follows = "home-manager"; 169 173 }; 170 174 affinity-nix = { 171 - url = "github:mrshmllow/affinity-nix"; 175 + url = "github:mrshmllow/affinity-nix/push-orwvsztwlunu"; 172 176 inputs.nixpkgs.follows = "nixpkgs"; 173 177 # url = "github:74k1/affinity-nix/patch"; 174 178 };
+4
hosts/nixos/wired/home.nix
··· 29 29 # firefox 30 30 zen 31 31 qutebrowser 32 + 33 + waterfox 32 34 neovim 33 35 # picom 34 36 polybar ··· 75 77 programs.home-manager.enable = true; 76 78 77 79 home.packages = with pkgs; [ 80 + # inputs.hythera-waterfox.outputs.legacyPackages.${system}.waterfox 81 + 78 82 # theme 79 83 papirus-icon-theme 80 84
+424
modules/home-manager/apps/waterfox/default.nix
··· 1 + { 2 + inputs, 3 + config, 4 + pkgs, 5 + ... 6 + }: 7 + { 8 + imports = [ inputs.tixpkgs.homeManagerModules'.programs.waterfox ]; 9 + programs.waterfox = { 10 + enable = true; 11 + package = inputs.hythera-waterfox.outputs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.waterfox; 12 + profiles.taki = { 13 + name = "taki"; 14 + search.default = "Kagi"; 15 + search.force = true; 16 + search.engines = { 17 + "bing".metaData.hidden = true; 18 + "ebay".metaData.hidden = true; 19 + "google" = { 20 + urls = [ { template = "https://www.google.com/search?q={searchTerms}"; } ]; 21 + icon = "https://icons.duckduckgo.com/ip3/google.com.ico"; 22 + definedAliases = [ 23 + ":g" 24 + "@google" 25 + ]; 26 + }; 27 + "Perplexity" = { 28 + urls = [ { template = "https://www.perplexity.ai/search?focus=internet&q={searchTerms}"; } ]; 29 + icon = "https://icons.duckduckgo.com/ip3/perplexity.ai.ico"; 30 + definedAliases = [ 31 + ":p" 32 + "@pp" 33 + "@perplexity" 34 + ]; 35 + }; 36 + "Kagi" = { 37 + urls = [ { template = "https://kagi.com/search?q={searchTerms}"; } ]; 38 + icon = "https://kagi.com/favicon.ico"; 39 + definedAliases = [ 40 + ":k" 41 + "@kagi" 42 + ]; 43 + }; 44 + "ddg" = { 45 + urls = [ { template = "https://duckduckgo.com/?t=h_&q={searchTerms}&ia=web"; } ]; 46 + icon = "https://icons.duckduckgo.com/ip3/duckduckgo.com.ico"; 47 + definedAliases = [ 48 + ":d" 49 + "@ddg" 50 + "@duckduckgo" 51 + ]; 52 + }; 53 + "Brave Search" = { 54 + urls = [ { template = "https://search.brave.com/search?q={searchTerms}&source=web"; } ]; 55 + icon = "https://icons.duckduckgo.com/ip3/search.brave.com.ico"; 56 + definedAliases = [ 57 + ":b" 58 + "@brave" 59 + ]; 60 + }; 61 + "MyNixOS" = { 62 + urls = [ { template = "https://mynixos.com/search?q={searchTerms}"; } ]; 63 + icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; 64 + definedAliases = [ 65 + ":mn" 66 + "@mynixos" 67 + ]; 68 + }; 69 + "Nixplorer" = { 70 + urls = [ { template = "https://nixplorer.com/search?q={searchTerms}"; } ]; 71 + icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; 72 + definedAliases = [ 73 + ":np" 74 + "@nixplorer" 75 + ]; 76 + }; 77 + "NixOS Wiki" = { 78 + urls = [ { template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; } ]; 79 + icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; 80 + definedAliases = [ "@nw" ]; 81 + }; 82 + }; 83 + # userChrome == FF Interface 84 + userChrome = # css 85 + '' 86 + .toolbarbutton-icon[src^="page-icon:https://github.com"]{ 87 + filter: invert(1) !important; 88 + } 89 + .tab-icon-image[src*="github.com"] { 90 + filter: invert(1) !important; 91 + } 92 + 93 + /** 94 + * Dynamic Horizontal Tabs Toolbar (with animations) 95 + * sidebar.verticalTabs: false (with native horizontal tabs) 96 + */ 97 + #main-window #TabsToolbar > .toolbar-items { 98 + overflow: hidden; 99 + transition: height 0.3s 0.3s !important; 100 + } 101 + /* Default state: Set initial height to enable animation */ 102 + #main-window #TabsToolbar > .toolbar-items { height: 3em !important; } 103 + #main-window[uidensity="touch"] #TabsToolbar > .toolbar-items { height: 3.35em !important; } 104 + #main-window[uidensity="compact"] #TabsToolbar > .toolbar-items { height: 2.7em !important; } 105 + /* Hidden state: Hide native tabs strip */ 106 + #main-window[titlepreface*="​"] #TabsToolbar > .toolbar-items { height: 0 !important; } 107 + /* Hidden state: Fix z-index of active pinned tabs */ 108 + #main-window[titlepreface*="​"] #tabbrowser-tabs { z-index: 0 !important; } 109 + /* Hidden state: Hide window buttons in tabs-toolbar */ 110 + #main-window[titlepreface*="​"] #TabsToolbar .titlebar-spacer, 111 + #main-window[titlepreface*="​"] #TabsToolbar .titlebar-buttonbox-container { 112 + display: none !important; 113 + } 114 + /* [Optional] Uncomment block below to show window buttons in nav-bar (maybe, I didn't test it on non-linux-i3wm env) */ 115 + /* #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-buttonbox-container, 116 + #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-buttonbox-container > .titlebar-buttonbox { 117 + display: flex !important; 118 + } */ 119 + /* [Optional] Uncomment one of the line below if you need space near window buttons */ 120 + /* #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-spacer[type="pre-tabs"] { display: flex !important; } */ 121 + /* #main-window[titlepreface*="XXX"] #nav-bar > .titlebar-spacer[type="post-tabs"] { display: flex !important; } */ 122 + ''; 123 + # userContent == web-pages and internal pages like about:newtab & about:home 124 + userContent = # css 125 + '' 126 + @media (-moz-bool-pref: "zen.view.compact") { 127 + #tabbrowser-tabpanels:not([zen-split-view]) { 128 + --zen-webview-border-radius: 0 0 0 0; 129 + --zen-element-separation: 0; 130 + } 131 + & .browserSidebarContainer { 132 + margin-left: 0 !important; 133 + } 134 + } 135 + ''; 136 + settings = { 137 + # USER CONF 138 + "browser.download.panel.shown" = true; 139 + "media.videocontrols.picture-in-picture.enabled" = false; 140 + "sidebar.revamp" = true; 141 + "browser.tabs.insertAfterCurrent" = true; 142 + 143 + # Check SMOOTHFOX below 144 + # "general.smoothScroll.currentVelocityWeighting" = 0; 145 + # "general.smoothScroll.mouseWheel.durationMaxMS" = 250; 146 + # "general.smoothScroll.stopDecelerationWeighting" = 0.82; 147 + # "mousewheel.min_line_scroll_amount" = 25; 148 + 149 + # Main Config is based on BetterFox @ 150 + # https://github.com/yokoffing/Betterfox 151 + ################# FAST FOX ################# 152 + "nglayout.initialpaint.delay" = 0; 153 + "nglayout.initialpaint.delay_in_oopif" = 0; 154 + "content.notify.interval" = 100000; 155 + "browser.startup.preXulSkeletonUI" = false; 156 + 157 + # Experimental 158 + "layout.css.grid-template-masonry-value.enabled" = true; 159 + "layout.css.animation-composition.enabled" = true; 160 + "dom.enable_web_task_scheduling" = true; 161 + 162 + # GFX 163 + "gfx.webrender.all" = true; 164 + "gfx.webrender.precache-shaders" = true; 165 + "gfx.webrender.compositor" = true; 166 + "layers.gpu-process.enabled" = true; 167 + "media.hardware-video-decoding.enabled" = true; 168 + "gfx.canvas.accelerated" = true; 169 + "gfx.canvas.accelerated.cache-items" = 32768; 170 + "gfx.canvas.accelerated.cache-size" = 4096; 171 + "gfx.content.skia-font-cache-size" = 80; 172 + "image.cache.size" = 10485760; 173 + "image.mem.decode_bytes_at_a_time" = 131072; 174 + "image.mem.shared.unmap.min_expiration_ms" = 120000; 175 + "media.memory_cache_max_size" = 1048576; 176 + "media.memory_caches_combined_limit_kb" = 2560000; 177 + "media.cache_readahead_limit" = 9000; 178 + "media.cache_resume_threshold" = 6000; 179 + 180 + # Browser Cache 181 + "browser.cache.memory.max_entry_size" = 153600; 182 + 183 + # Network 184 + "network.buffer.cache.size" = 262144; 185 + "network.buffer.cache.count" = 128; 186 + "network.ssl_tokens_cache_capacity" = 32768; 187 + 188 + ################# SECUREFOX ################# 189 + # Tracking Protection 190 + "browser.contentblocking.category" = "strict"; 191 + "privacy.trackingprotection.emailtracking.enabled" = true; 192 + "urlclassifier.trackingSkipURLs" = "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com"; 193 + "urlclassifier.features.socialtracking.skipURLs" = "*.instagram.com, *.twitter.com, *.twimg.com"; 194 + "privacy.query_stripping.strip_list" = 195 + "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid"; 196 + "browser.uitour.enabled" = false; 197 + 198 + # OCSP & CERTS / HPKP 199 + "security.OCSP.enabled" = 0; 200 + "security.remote_settings.crlite_filters.enabled" = true; 201 + "security.pki.crlite_mode" = 2; 202 + "security.cert_pinning.enforcement_level" = 2; 203 + 204 + # SSL/TLS 205 + "security.ssl.treat_unsafe_negotiation_as_broken" = true; 206 + "browser.xul.error_pages.expert_bad_cert" = true; 207 + "security.tls.enable_0rtt_data" = false; 208 + 209 + # Disk Avoidance 210 + "browser.cache.disk.enable" = false; 211 + "browser.privatebrowsing.forceMediaMemoryCache" = true; 212 + "browser.sessionstore.privacy_level" = 2; 213 + 214 + # Shutdown and Sanitizing 215 + "privacy.history.custom" = true; 216 + 217 + # Speculative connections 218 + "network.http.speculative-parallel-limit" = 0; 219 + "network.dns.disablePrefetch" = true; 220 + "browser.urlbar.speculativeConnect.enabled" = false; 221 + "browser.places.speculativeConnect.enabled" = false; 222 + "network.prefetch-next" = false; 223 + "network.predictor.enabled" = false; 224 + "network.predictor.enable-prefetch" = false; 225 + 226 + # Search and URL bar 227 + "browser.search.separatePrivateDefault.ui.enabled" = true; 228 + "browser.urlbar.update2.engineAliasRefresh" = true; 229 + "browser.search.suggest.enabled" = true; # CHANGED 230 + "browser.urlbar.suggest.quicksuggest.sponsored" = false; 231 + "browser.urlbar.suggest.quicksuggest.nonsponsored" = false; 232 + "security.insecure_connection_text.enabled" = true; 233 + "security.insecure_connection_text.pbmode.enabled" = true; 234 + "network.IDN_show_punycode" = true; 235 + 236 + # HTTPS-first mode 237 + "dom.security.https_first" = true; 238 + 239 + # Proxy/Socks/IPv6 240 + "network.proxy.socks_remote_dns" = true; 241 + "network.file.disable_unc_paths" = true; 242 + "network.gio.supported-protocols" = ""; 243 + 244 + # Passwords and Autofill 245 + "signon.formlessCapture.enabled" = false; 246 + "signon.privateBrowsingCapture.enabled" = false; 247 + "signon.autofillForms" = false; 248 + "signon.rememberSignons" = false; 249 + "editor.truncate_user_pastes" = false; 250 + "layout.forms.reveal-password-context-menu.enabled" = true; 251 + 252 + # Address + Credit Cards manager 253 + "extensions.formautofill.addresses.enabled" = false; 254 + "extensions.formautofill.creditCards.enabled" = false; 255 + "extensions.formautofill.heuristics.enabled" = false; 256 + "browser.formfill.enable" = false; 257 + 258 + # Mixed content + Cross-site 259 + "network.auth.subresource-http-auth-allow" = 1; 260 + "pdfjs.enableScripting" = false; 261 + "extensions.postDownloadThirdPartyPrompt" = false; 262 + "permissions.delegation.enabled" = false; 263 + 264 + # Headers/Referers 265 + "network.http.referer.XOriginTrimmingPolicy" = 2; 266 + 267 + # Containers 268 + "privacy.userContext.ui.enabled" = true; 269 + 270 + # Webrtc 271 + "media.peerconnection.ice.proxy_only_if_behind_proxy" = true; 272 + "media.peerconnection.ice.default_address_only" = true; 273 + 274 + # Safe Browsing 275 + "browser.safebrowsing.downloads.remote.enabled" = false; 276 + 277 + # Mozilla 278 + "accessibility.force_disabled" = 1; 279 + "browser.tabs.firefox-view" = false; 280 + "permissions.default.desktop-notification" = 2; 281 + "permissions.default.geo" = 2; 282 + "geo.provider.network.url" = 283 + "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"; 284 + "geo.provider.ms-windows-location" = false; # WINDOWS 285 + "geo.provider.use_corelocation" = false; # MAC 286 + "geo.provider.use_gpsd" = false; # LINUX 287 + "geo.provider.use_geoclue" = false; # LINUX 288 + "permissions.manager.defaultsUrl" = ""; 289 + "webchannel.allowObject.urlWhitelist" = ""; 290 + 291 + # Telemetry 292 + "toolkit.telemetry.unified" = false; 293 + "toolkit.telemetry.enabled" = false; 294 + "toolkit.telemetry.server" = "data:,"; 295 + "toolkit.telemetry.archive.enabled" = false; 296 + "toolkit.telemetry.newProfilePing.enabled" = false; 297 + "toolkit.telemetry.shutdownPingSender.enabled" = false; 298 + "toolkit.telemetry.updatePing.enabled" = false; 299 + "toolkit.telemetry.bhrPing.enabled" = false; 300 + "toolkit.telemetry.firstShutdownPing.enabled" = false; 301 + "toolkit.telemetry.coverage.opt-out" = true; 302 + "toolkit.coverage.opt-out" = true; 303 + "datareporting.healthreport.uploadEnabled" = false; 304 + "datareporting.policy.dataSubmissionEnabled" = false; 305 + "app.shield.optoutstudies.enabled" = false; 306 + "browser.discovery.enabled" = false; 307 + "breakpad.reportURL" = ""; 308 + "browser.tabs.crashReporting.sendReport" = false; 309 + "browser.crashReports.unsubmittedCheck.autoSubmit2" = false; 310 + "captivedetect.canonicalURL" = ""; 311 + "network.captive-portal-service.enabled" = false; 312 + "network.connectivity-service.enabled" = false; 313 + "default-browser-agent.enabled" = false; 314 + "app.normandy.enabled" = false; 315 + "app.normandy.api_url" = ""; 316 + "browser.ping-centre.telemetry" = false; 317 + "browser.newtabpage.activity-stream.feeds.telemetry" = false; 318 + "browser.newtabpage.activity-stream.telemetry" = false; 319 + 320 + ################# PESKYFOX ################# 321 + # Mozilla UI 322 + "layout.css.prefers-color-scheme.content-override" = 2; 323 + "toolkit.legacyUserProfileCustomizations.stylesheets" = true; 324 + "app.update.suppressPrompts" = true; 325 + "browser.compactmode.show" = true; 326 + "browser.privatebrowsing.vpnpromourl" = ""; 327 + "extensions.getAddons.showPane" = false; 328 + "extensions.htmlaboutaddons.recommendations.enabled" = false; 329 + "browser.shell.checkDefaultBrowser" = false; 330 + "browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false; 331 + "browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false; 332 + "browser.preferences.moreFromMozilla" = false; 333 + "browser.tabs.tabmanager.enabled" = false; 334 + "browser.aboutwelcome.enabled" = false; 335 + "findbar.highlightAll" = true; 336 + "middlemouse.contentLoadURL" = false; 337 + "browser.privatebrowsing.enable-new-indicator" = false; 338 + 339 + # Fullscreen 340 + "full-screen-api.transition-duration.enter" = "0 0"; 341 + "full-screen-api.transition-duration.leave" = "0 0"; 342 + "full-screen-api.warning.delay" = 0; 343 + "full-screen-api.warning.timeout" = 0; 344 + 345 + # URL Bar 346 + "browser.urlbar.suggest.engines" = false; 347 + "browser.urlbar.suggest.topsites" = false; 348 + "browser.urlbar.suggest.calculator" = true; 349 + "browser.urlbar.unitConversion.enabled" = true; 350 + 351 + # New tab page 352 + "browser.newtabpage.activity-stream.feeds.topsites" = false; 353 + "browser.newtabpage.activity-stream.feeds.section.topstories" = false; 354 + 355 + # Pocket 356 + "extensions.pocket.enabled" = false; 357 + 358 + # Downloads 359 + "browser.download.useDownloadDir" = false; 360 + "browser.download.alwaysOpenPanel" = false; 361 + "browser.download.manager.addToRecentDocs" = false; 362 + "browser.download.always_ask_before_handling_new_types" = true; 363 + 364 + # PDF 365 + "browser.download.open_pdf_attachments_inline" = true; 366 + 367 + # Tab behavior 368 + "browser.link.open_newwindow.restriction" = 0; 369 + "dom.disable_window_move_resize" = true; 370 + "browser.tabs.loadBookmarksInTabs" = true; 371 + "browser.bookmarks.openInTabClosesMenu" = false; 372 + "dom.popup_allowed_events" = 373 + "change click dblclick auxclick mousedown mouseup pointerdown pointerup notificationclick reset submit touchend contextmenu"; # reset pref; remove in v.111 374 + "layout.css.has-selector.enabled" = true; 375 + 376 + ################# SMOOTHFOX ################# 377 + "apz.overscroll.enabled" = true; 378 + "general.smoothScroll" = true; 379 + "general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS" = 12; 380 + "general.smoothScroll.msdPhysics.enabled" = true; 381 + "general.smoothScroll.msdPhysics.motionBeginSpringConstant" = 600; 382 + "general.smoothScroll.msdPhysics.regularSpringConstant" = 650; 383 + "general.smoothScroll.msdPhysics.slowdownMinDeltaMS" = 25; 384 + "general.smoothScroll.msdPhysics.slowdownMinDeltaRatio" = "2"; 385 + "general.smoothScroll.msdPhysics.slowdownSpringConstant" = 250; 386 + "general.smoothScroll.currentVelocityWeighting" = "1"; 387 + "general.smoothScroll.stopDecelerationWeighting" = "1"; 388 + "mousewheel.default.delta_multiplier_y" = 300; 389 + 390 + ################# OVERRIDES ################# 391 + "browser.startup.homepage" = ""; 392 + # Enable HTTPS-Only Mode 393 + "dom.security.https_only_mode" = true; 394 + "dom.security.https_only_mode_ever_enabled" = true; 395 + # Privacy settings 396 + "privacy.donottrackheader.enabled" = true; 397 + "privacy.trackingprotection.enabled" = true; 398 + "privacy.trackingprotection.socialtracking.enabled" = true; 399 + "privacy.partition.network_state.ocsp_cache" = true; 400 + # Disable all sorts of telemetry 401 + "toolkit.telemetry.hybridContent.enabled" = false; 402 + "toolkit.telemetry.reportingpolicy.firstRun" = false; 403 + 404 + # As well as Firefox 'experiments' 405 + "experiments.activeExperiment" = false; 406 + "experiments.enabled" = false; 407 + "experiments.supported" = false; 408 + "network.allow-experiments" = false; 409 + # Disable Pocket Integration 410 + "browser.newtabpage.activity-stream.section.highlights.includePocket" = false; 411 + "extensions.pocket.api" = ""; 412 + "extensions.pocket.oAuthConsumerKey" = ""; 413 + "extensions.pocket.showHome" = false; 414 + "extensions.pocket.site" = ""; 415 + # Allow copy to clipboard 416 + "dom.events.asyncClipboard.clipboardItem" = true; 417 + }; 418 + 419 + # extraConfig = /* js */ '' 420 + # fetch("https://raw.githubusercontent.com/Erudition/zen-sidebery-mod/refs/heads/main/zen-sidebery-integration.mjs").then((response) => response.text().then((code) => eval(code))); 421 + # ''; 422 + }; 423 + }; 424 + }
+1
modules/home-manager/default.nix
··· 29 29 theme = import ./x11/theme; 30 30 walker = import ./wayland/walker; 31 31 wall = import ./x11/wall; 32 + waterfox = import ./apps/waterfox; 32 33 waybar = import ./wayland/waybar; 33 34 wezterm = import ./apps/wezterm; 34 35 wired = import ./apps/wired;