fix relative paths in user config
This commit is contained in:
@ -17,10 +17,10 @@ rec {
|
||||
imports = [
|
||||
|
||||
# My modules
|
||||
../modules/emacs.nix
|
||||
../modules/audio.nix
|
||||
../modules/flatpak.nix
|
||||
../modules/gaming.nix
|
||||
../../modules/emacs.nix
|
||||
../../modules/audio.nix
|
||||
../../modules/flatpak.nix
|
||||
../../modules/gaming.nix
|
||||
|
||||
# inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
@ -460,8 +460,7 @@ rec {
|
||||
settings = {
|
||||
"app.update.auto" = false;
|
||||
# "browser.startup.homepage" = "https://lobste.rs";
|
||||
"identity.fxaccounts.account.device.name" =
|
||||
nixosConfig.networking.hostName; # NOTE: nixosConfig attribute is somehow not documented, so Idk if I should use it
|
||||
"identity.fxaccounts.account.device.name" = nixosConfig.networking.hostName;
|
||||
|
||||
# Firefox wayland hardware video acceleration
|
||||
# https://github.com/elFarto/nvidia-vaapi-driver/#firefox=
|
||||
@ -529,14 +528,10 @@ rec {
|
||||
# Show whole URL in address bar
|
||||
"browser.urlbar.trimURLs" = false;
|
||||
# Disable some not so useful functionality.
|
||||
"browser.disableResetPrompt" =
|
||||
true; # "Looks like you haven't started Firefox in a while."
|
||||
"browser.onboarding.enabled" =
|
||||
false; # "New to Firefox? Let's get started!" tour
|
||||
"browser.aboutConfig.showWarning" =
|
||||
false; # Warning when opening about:config
|
||||
"media.videocontrols.picture-in-picture.video-toggle.enabled" =
|
||||
true;
|
||||
"browser.disableResetPrompt" = true; # "Looks like you haven't started Firefox in a while."
|
||||
"browser.onboarding.enabled" = false; # "New to Firefox? Let's get started!" tour
|
||||
"browser.aboutConfig.showWarning" = false; # Warning when opening about:config
|
||||
"media.videocontrols.picture-in-picture.video-toggle.enabled" = true;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"extensions.shield-recipe-client.enabled" = false;
|
||||
"reader.parse-on-load.enabled" = false; # "reader view"
|
||||
@ -548,15 +543,12 @@ rec {
|
||||
# https://github.com/tlswg/tls13-spec/issues/1001
|
||||
"security.tls.enable_0rtt_data" = false;
|
||||
# Use Mozilla geolocation service instead of Google if given permission
|
||||
"geo.provider.network.url" =
|
||||
"https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%";
|
||||
"geo.provider.network.url" = "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%";
|
||||
"geo.provider.use_gpsd" = false;
|
||||
# https://support.mozilla.org/en-US/kb/extension-recommendations
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr" = false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" =
|
||||
false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" =
|
||||
false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons" = false;
|
||||
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features" = false;
|
||||
"extensions.htmlaboutaddons.recommendations.enabled" = false;
|
||||
"extensions.htmlaboutaddons.discover.enabled" = false;
|
||||
"extensions.getAddons.showPane" = false; # uses Google Analytics
|
||||
@ -619,8 +611,7 @@ rec {
|
||||
# Disable crash reports
|
||||
"breakpad.reportURL" = "";
|
||||
"browser.tabs.crashReporting.sendReport" = false;
|
||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" =
|
||||
false; # don't submit backlogged reports
|
||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false; # don't submit backlogged reports
|
||||
|
||||
# Disable Form autofill
|
||||
# https://wiki.mozilla.org/Firefox/Features/Form_Autofill
|
||||
@ -632,7 +623,7 @@ rec {
|
||||
"extensions.formautofill.heuristics.enabled" = false;
|
||||
};
|
||||
|
||||
userChrome = builtins.readFile ../config/firefox/userChrome.css;
|
||||
userChrome = builtins.readFile ../../config/firefox/userChrome.css;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user