From d0b35e3ababc361159877835ee19c20478606847 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 7 Jan 2024 17:52:43 +0900 Subject: [PATCH] Update codium --- home-manager/common/software/gui/vscodium.nix | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/home-manager/common/software/gui/vscodium.nix b/home-manager/common/software/gui/vscodium.nix index 850c0bca..61c26045 100644 --- a/home-manager/common/software/gui/vscodium.nix +++ b/home-manager/common/software/gui/vscodium.nix @@ -1,6 +1,6 @@ { config, pkgs, ... }: { programs.vscode = { - enable = true; + enable = false; package = pkgs.vscodium; enableUpdateCheck = false; enableExtensionUpdateCheck = false; @@ -13,5 +13,42 @@ # Themes enkia.tokyo-night ]; + userSettings = { + # Theming: + "window.autoDetectColorScheme" = true; + "workbench.preferredLightColorTheme" = "Tokyo Night Light"; + "workbench.preferredDarkColorTheme" = "Tokyo Night"; + "workbench.colorTheme" = "Tokyo Night"; + "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; + }; }; } \ No newline at end of file