librewolf user.js prefs, webgl prompt, xdg module
This commit is contained in:
1 parent
e11250c4a1
commit
73a0527a33
4 files changed
+118
-107
No files matched your search
@@ -2,6 +2,7 @@
|
|||||||
den.aspects.desktop = {
|
den.aspects.desktop = {
|
||||||
includes = with den.aspects; [
|
includes = with den.aspects; [
|
||||||
system.desktop.cosmic
|
system.desktop.cosmic
|
||||||
|
system.desktop.xdg
|
||||||
system.audio
|
system.audio
|
||||||
system.swap
|
system.swap
|
||||||
system.virtualisation
|
system.virtualisation
|
||||||
|
|||||||
@@ -35,76 +35,81 @@
|
|||||||
|
|
||||||
nativeMessagingHosts = [ bugpass.host ];
|
nativeMessagingHosts = [ bugpass.host ];
|
||||||
|
|
||||||
settings = {
|
|
||||||
"browser.startup.homepage" = "https://search.${host.domain}";
|
|
||||||
"browser.startup.page" = 3;
|
|
||||||
|
|
||||||
"datareporting.healthreport.uploadEnabled" = false;
|
|
||||||
"datareporting.policy.dataSubmissionEnabled" = false;
|
|
||||||
"toolkit.telemetry.enabled" = false;
|
|
||||||
"toolkit.telemetry.unified" = false;
|
|
||||||
"toolkit.telemetry.archive.enabled" = false;
|
|
||||||
"toolkit.telemetry.newProfilePing.enabled" = false;
|
|
||||||
"toolkit.telemetry.shutdownPingSender.enabled" = false;
|
|
||||||
"toolkit.telemetry.updatePing.enabled" = false;
|
|
||||||
"toolkit.telemetry.bhrPing.enabled" = false;
|
|
||||||
"toolkit.telemetry.firstShutdownPing.enabled" = false;
|
|
||||||
"toolkit.telemetry.coverage.opt-out" = true;
|
|
||||||
"toolkit.coverage.opt-out" = true;
|
|
||||||
"app.shield.optoutstudies.enabled" = false;
|
|
||||||
"app.normandy.enabled" = false;
|
|
||||||
"app.normandy.api_url" = "";
|
|
||||||
"breakpad.reportURL" = "";
|
|
||||||
"browser.tabs.crashReporting.sendReport" = false;
|
|
||||||
"browser.crashReports.unsubmittedCheck.enabled" = false;
|
|
||||||
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
|
|
||||||
|
|
||||||
"privacy.resistFingerprinting.letterboxing" = false;
|
|
||||||
"privacy.donottrackheader.enabled" = true;
|
|
||||||
"privacy.globalprivacycontrol.enabled" = true;
|
|
||||||
"privacy.resistFingerprinting" = false;
|
|
||||||
"privacy.fingerprintingProtection" = true;
|
|
||||||
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme";
|
|
||||||
|
|
||||||
"browser.search.separatePrivateDefault" = false;
|
|
||||||
|
|
||||||
"browser.download.autohideButton" = true;
|
|
||||||
"browser.quitShortcut.disabled" = true;
|
|
||||||
"browser.sessionstore.resume_session_once" = true;
|
|
||||||
|
|
||||||
"browser.cache.memory.capacity" = 65536;
|
|
||||||
"browser.sessionstore.interval" = 60000;
|
|
||||||
"browser.sessionstore.max_tabs_undo" = 10;
|
|
||||||
"browser.sessionstore.max_windows_undo" = 1;
|
|
||||||
"browser.tabs.unloadOnLowMemory" = true;
|
|
||||||
|
|
||||||
"gfx.webrender.all" = true;
|
|
||||||
"gfx.canvas.accelerated" = true;
|
|
||||||
"media.hardware-video-decoding.force-enabled" = true;
|
|
||||||
|
|
||||||
"network.http.max-connections" = 1500;
|
|
||||||
"network.http.max-persistent-connections-per-server" = 10;
|
|
||||||
"network.prefetch-next" = false;
|
|
||||||
|
|
||||||
"browser.tabs.animate" = false;
|
|
||||||
"browser.fullscreen.animate" = false;
|
|
||||||
|
|
||||||
"ui.systemUsesDarkTheme" = 1;
|
|
||||||
"browser.theme.content-theme" = 0;
|
|
||||||
|
|
||||||
"layout.css.prefers-color-scheme.content-override" = 0;
|
|
||||||
|
|
||||||
"xpinstall.signatures.required" = false;
|
|
||||||
|
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
||||||
|
|
||||||
"privacy.clearOnShutdown_v2.cookiesAndStorage" = false;
|
|
||||||
"privacy.clearOnShutdown.cookies" = false;
|
|
||||||
"privacy.clearOnShutdown.offlineApps" = false;
|
|
||||||
"privacy.clearOnShutdown.sessions" = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
|
settings = {
|
||||||
|
"browser.startup.homepage" = "https://search.${host.domain}";
|
||||||
|
"browser.startup.page" = 3;
|
||||||
|
|
||||||
|
"datareporting.healthreport.uploadEnabled" = false;
|
||||||
|
"datareporting.policy.dataSubmissionEnabled" = false;
|
||||||
|
"toolkit.telemetry.enabled" = false;
|
||||||
|
"toolkit.telemetry.unified" = false;
|
||||||
|
"toolkit.telemetry.archive.enabled" = false;
|
||||||
|
"toolkit.telemetry.newProfilePing.enabled" = false;
|
||||||
|
"toolkit.telemetry.shutdownPingSender.enabled" = false;
|
||||||
|
"toolkit.telemetry.updatePing.enabled" = false;
|
||||||
|
"toolkit.telemetry.bhrPing.enabled" = false;
|
||||||
|
"toolkit.telemetry.firstShutdownPing.enabled" = false;
|
||||||
|
"toolkit.telemetry.coverage.opt-out" = true;
|
||||||
|
"toolkit.coverage.opt-out" = true;
|
||||||
|
"app.shield.optoutstudies.enabled" = false;
|
||||||
|
"app.normandy.enabled" = false;
|
||||||
|
"app.normandy.api_url" = "";
|
||||||
|
"breakpad.reportURL" = "";
|
||||||
|
"browser.tabs.crashReporting.sendReport" = false;
|
||||||
|
"browser.crashReports.unsubmittedCheck.enabled" = false;
|
||||||
|
"browser.crashReports.unsubmittedCheck.autoSubmit2" = false;
|
||||||
|
|
||||||
|
"privacy.resistFingerprinting.letterboxing" = false;
|
||||||
|
"privacy.donottrackheader.enabled" = true;
|
||||||
|
"privacy.globalprivacycontrol.enabled" = true;
|
||||||
|
"privacy.resistFingerprinting" = false;
|
||||||
|
"privacy.fingerprintingProtection" = true;
|
||||||
|
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme";
|
||||||
|
|
||||||
|
"browser.search.separatePrivateDefault" = false;
|
||||||
|
|
||||||
|
"browser.download.autohideButton" = true;
|
||||||
|
"browser.quitShortcut.disabled" = true;
|
||||||
|
"browser.sessionstore.resume_session_once" = true;
|
||||||
|
|
||||||
|
#"browser.cache.memory.capacity" = 65536;
|
||||||
|
"browser.sessionstore.interval" = 60000;
|
||||||
|
"browser.sessionstore.max_tabs_undo" = 10;
|
||||||
|
"browser.sessionstore.max_windows_undo" = 1;
|
||||||
|
"browser.tabs.unloadOnLowMemory" = true;
|
||||||
|
|
||||||
|
"gfx.webrender.all" = true;
|
||||||
|
"gfx.canvas.accelerated" = true;
|
||||||
|
"media.hardware-video-decoding.force-enabled" = true;
|
||||||
|
|
||||||
|
"network.http.max-connections" = 1500;
|
||||||
|
"network.http.max-persistent-connections-per-server" = 10;
|
||||||
|
"network.prefetch-next" = false;
|
||||||
|
|
||||||
|
"browser.tabs.animate" = false;
|
||||||
|
"browser.fullscreen.animate" = false;
|
||||||
|
|
||||||
|
"ui.systemUsesDarkTheme" = 1;
|
||||||
|
"browser.theme.content-theme" = 0;
|
||||||
|
|
||||||
|
"layout.css.prefers-color-scheme.content-override" = 0;
|
||||||
|
|
||||||
|
"xpinstall.signatures.required" = false;
|
||||||
|
|
||||||
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
|
|
||||||
|
"librewolf.webgl.prompt.hide" = false;
|
||||||
|
"webgl.disabled" = false;
|
||||||
|
"webgl.force-enabled" = true;
|
||||||
|
"webgl.bypass-shader-validation" = true;
|
||||||
|
|
||||||
|
"privacy.clearOnShutdown_v2.cookiesAndStorage" = false;
|
||||||
|
"privacy.clearOnShutdown.cookies" = false;
|
||||||
|
"privacy.clearOnShutdown.offlineApps" = false;
|
||||||
|
"privacy.clearOnShutdown.sessions" = false;
|
||||||
|
};
|
||||||
|
|
||||||
userChrome = builtins.readFile ./userChrome.css;
|
userChrome = builtins.readFile ./userChrome.css;
|
||||||
userContent = builtins.readFile ./userContent.css;
|
userContent = builtins.readFile ./userContent.css;
|
||||||
|
|
||||||
|
|||||||
@@ -21,44 +21,6 @@
|
|||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
COSMIC_DATA_CONTROL_ENABLED = 1;
|
COSMIC_DATA_CONTROL_ENABLED = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg = {
|
|
||||||
portal = {
|
|
||||||
enable = true;
|
|
||||||
xdgOpenUsePortal = true;
|
|
||||||
|
|
||||||
config.common.default = ["gtk"];
|
|
||||||
|
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-cosmic];
|
|
||||||
};
|
|
||||||
|
|
||||||
mime = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
defaultApplications = {
|
|
||||||
"text/html" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/http" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/https" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/about" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/unknown" = "firefox.desktop";
|
|
||||||
"application/pdf" = "firefox.desktop";
|
|
||||||
|
|
||||||
"inode/directory" = "com.system76.CosmicFiles.desktop";
|
|
||||||
|
|
||||||
"text/plain" = "com.system76.CosmicEdit.desktop";
|
|
||||||
"text/markdown" = "com.system76.CosmicEdit.desktop";
|
|
||||||
|
|
||||||
"application/zip" = "org.gnome.FileRoller.desktop";
|
|
||||||
"application/x-7z-compressed" = "org.gnome.FileRoller.desktop";
|
|
||||||
"application/x-tar" = "org.gnome.FileRoller.desktop";
|
|
||||||
"application/gzip" = "org.gnome.FileRoller.desktop";
|
|
||||||
"application/x-xz" = "org.gnome.FileRoller.desktop";
|
|
||||||
"application/x-zip-compressed" = "org.gnome.FileRoller.desktop";
|
|
||||||
|
|
||||||
"application/x-ms-dos-executable" = "wine.desktop";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
den.aspects.system.desktop.xdg = {
|
||||||
|
nixos = { pkgs, ... }: {
|
||||||
|
xdg = {
|
||||||
|
portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
|
||||||
|
config.common.default = ["gtk"];
|
||||||
|
|
||||||
|
extraPortals = [pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-cosmic];
|
||||||
|
};
|
||||||
|
|
||||||
|
mime = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
defaultApplications = {
|
||||||
|
"text/html" = "librewolf.desktop";
|
||||||
|
"x-scheme-handler/http" = "librewolf.desktop";
|
||||||
|
"x-scheme-handler/https" = "librewolf.desktop";
|
||||||
|
"x-scheme-handler/about" = "librewolf.desktop";
|
||||||
|
"x-scheme-handler/unknown" = "librewolf.desktop";
|
||||||
|
"application/pdf" = "librewolf.desktop";
|
||||||
|
|
||||||
|
"inode/directory" = "com.system76.CosmicFiles.desktop";
|
||||||
|
|
||||||
|
"text/plain" = "com.system76.CosmicEdit.desktop";
|
||||||
|
"text/markdown" = "com.system76.CosmicEdit.desktop";
|
||||||
|
|
||||||
|
"application/zip" = "org.gnome.FileRoller.desktop";
|
||||||
|
"application/x-7z-compressed" = "org.gnome.FileRoller.desktop";
|
||||||
|
"application/x-tar" = "org.gnome.FileRoller.desktop";
|
||||||
|
"application/gzip" = "org.gnome.FileRoller.desktop";
|
||||||
|
"application/x-xz" = "org.gnome.FileRoller.desktop";
|
||||||
|
"application/x-zip-compressed" = "org.gnome.FileRoller.desktop";
|
||||||
|
|
||||||
|
"application/x-ms-dos-executable" = "wine.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user