this repo has no description
at main 49 lines 1.2 kB view raw view rendered
1## flake.nix 2```nix 3{ 4 inputs = { 5 # other stuff 6 7 potatofox = { 8 url = "git+https://codeberg.org/da157/PotatoFox"; 9 flake = false; 10 }; 11 }; 12} 13``` 14 15## firefox.nix: 16```nix 17{ potatofox, ... }: 18let 19 profile = "default"; 20in 21{ 22 programs.firefox = { 23 profiles.${profile} = { 24 settings = { 25 "toolkit.legacyUserProfileCustomizations.stylesheets" = true; 26 "svg.context-properties.content.enabled" = true; 27 "layout.css.has-selector.enabled" = true; 28 "browser.urlbar.suggest.calculator" = true; 29 "browser.urlbar.unitConversion.enabled" = true; 30 "browser.urlbar.trimHttps" = true; 31 "browser.urlbar.trimURLs" = true; 32 "browser.profiles.enabled" = true; 33 "widget.gtk.rounded-bottom-corners.enabled" = true; 34 "browser.compactmode.show" = true; 35 "widget.gtk.ignore-bogus-leave-notify" = 1; 36 "browser.tabs.allow_transparent_browser" = true; 37 "browser.uidensity" = 1; 38 "browser.aboutConfig.showWarning" = false; 39 }; 40 }; 41 }; 42 43 home.file.".mozilla/firefox/${profile}/chrome" = { 44 source = "${potatofox}/chrome"; 45 recursive = true; 46 }; 47} 48``` 49<!-- vim: set tabstop=2 shiftwidth=2 : -->