firefox and vscodium updates

This commit is contained in:
iFargle 2023-09-30 21:44:49 +09:00
parent 5126978beb
commit cf2841a0fc
3 changed files with 62 additions and 20 deletions

View file

@ -3,6 +3,6 @@
./kitty.nix
./firefox.nix
# ./thunderbird.nix
# ./vscodium.nix
./vscodium.nix
];
}

View file

@ -1,14 +1,14 @@
{ config, pkgs, ... }: {
{ config; pkgs; ... }: {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
extensions = with pkgs.vscode-extensions; [
waderyan.gitblame
vscodevim.vim
oderwat.indent-rainbow
naumovs.color-highlight
waderyan.gitblame # See Git Blame info in status bar
vscodevim.vim # Vim keybinds
oderwat.indent-rainbow # Colorise indents
naumovs.color-highlight # Highlight HTML color codes
# Themes
jdinhlife.gruvbox
@ -17,7 +17,41 @@
dracula-theme.theme-dracula
];
userSettings = {
# Theming:
"window.autoDetectColorScheme" = true;
"workbench.preferredLightColorTheme" = "GitHub Light Default";
"workbench.preferredDarkColorTheme" = "Github Dark Dimmed";
"workbench.colorTheme" = "Github Dark Dimmed";
"workbench.iconTheme" = "";
# Workbench
"workbench.startupEditor" = "none";
"diffEditor.ignoreTrimWhitespace" = false;
"workbench.editor.autoLockGroups" = {
"mainThreadWebview-markdown.preview" = true
};
"editor.fontFamily" = "JetBrainsMono Regular";
"editor.fontLigatures" = true;
# Telemetry
"redhat.telemetry.enabled" = false;
"telemetry.telemetryLevel" = "off";
# Git
"git.enableSmartCommit" = true;
"git.confirmSync" = false;
"git.autofetch" = true;
# Language Specific
# Python
"python.diagnostics.sourceMapsEnabled" = true;
"python.linting.pylintEnabled" = true;
"python.linting.pylintArgs" = [
"--rcfile=~/.config/pylintrc"
];
# Rust
"rust-analyzer.cargo.buildScripts.overrideCommand" = null;
};
};
}

View file

@ -3,15 +3,24 @@
enable = true;
# https://search.nixos.org/options?channel=23.05&show=programs.firefox.preferences&from=0&size=50&sort=relevance&type=packages&query=firefox
preferences = {
# Browser Settings
"extensions.pocket.enabled" = false;
"toolkit.telemetry.pioneer-new-studies-availble" = false;
"datareporting.healthreport.uploadEnabled" = false;
"datareporting.healthreport.infoURL" = "null";
"toolkit.telemetry.server" = "null";
"browser.newtabpage.activity-stream.feeds.telemetry" = false;
"browser.newtabpage.activity-stream.telemetry" = false;
"browser.ping-centre.telemetry" = false;
"browser.startup.homepage" = "https://dir.sysctl.io";
"browser.search.region" = "US";
"browser.search.isUS" = true;
"browser.bookmarks.showMobileBookmarks" = false;
"browser.newtabpage.enabled" = false;
"browser.tabs.firefox-view" = false;
# Telemetry
"toolkit.telemetry.server" = "null";
"toolkit.telemetry.enabled" = false;
"toolkit.telemetry.bhrPing.enabled" = false;
"toolkit.telemetry.pioneer-new-studies-availble" = false;
"toolkit.telemetry.firstShutdownPing.enabled" = false;
"toolkit.telemetry.hybridContent.enabled" = false;
"toolkit.telemetry.newProfilePing.enabled" = false;
@ -20,19 +29,18 @@
"toolkit.telemetry.reportingpolicy.firstRun" = false;
"toolkit.telemetry.unified" = false;
"toolkit.telemetry.archive.enabled" = false;
"devtools.onboarding.telemetry.logged" = false;
"toolkit.telemetry.bhrPing.enabled" = false;
# Data Reporting
"datareporting.policy.dataSubmissionEnabled" = false;
"datareporting.sessions.current.clean" = "true";
"browser.startup.homepage" = "https://dir.sysctl.io";
"browser.search.region" = "US";
"browser.search.isUS" = false;
"distribution.searchplugins.defaultLocale" = "en-US";
"general.useragent.locale" = "en-US";
"browser.bookmarks.showMobileBookmarks" = false;
"browser.newtabpage.enabled" = false;
"datareporting.healthreport.uploadEnabled" = false;
"datareporting.healthreport.infoURL" = "null";
# Other
"devtools.onboarding.telemetry.logged" = false;
"services.sync.prefs.sync.browser.newtabpage.enabled" = false;
"browser.tabs.firefox-view" = false;
"general.useragent.locale" = "en-US";
"distribution.searchplugins.defaultLocale" = "en-US";
};
};
}