1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2026-01-26 19:56:29 +01:00

feat(vscode): change themes

This commit is contained in:
Ryan Cao 2024-01-28 10:15:27 +08:00
parent da6ce75ba9
commit e5c410b766
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 19 additions and 14 deletions

View file

@ -4,45 +4,49 @@
... ...
}: let }: let
extensions = [ extensions = [
"antfu.icons-carbon"
"antfu.unocss" "antfu.unocss"
"astro-build.astro-vscode" "astro-build.astro-vscode"
"bierner.lit-html" "bierner.lit-html"
"bmalehorn.vscode-fish" "bmalehorn.vscode-fish"
"bradlc.vscode-tailwindcss" "bradlc.vscode-tailwindcss"
"Catppuccin.catppuccin-vsc" "Catppuccin.catppuccin-vsc"
"Catppuccin.catppuccin-vsc-icons" # "Catppuccin.catppuccin-vsc-icons"
"xaver.clang-format"
"charliermarsh.ruff" "charliermarsh.ruff"
"csstools.postcss"
"denoland.vscode-deno"
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint"
"denoland.vscode-deno"
"dprint.dprint" "dprint.dprint"
"DotJoshJohnson.xml" "DotJoshJohnson.xml"
"EditorConfig.EditorConfig"
"eamodio.gitlens" "eamodio.gitlens"
"github.vscode-github-actions" "EditorConfig.EditorConfig"
"enkia.tokyo-night"
"esbenp.prettier-vscode" "esbenp.prettier-vscode"
"github.vscode-github-actions"
"GraphQL.vscode-graphql" "GraphQL.vscode-graphql"
"GraphQL.vscode-graphql-syntax" "GraphQL.vscode-graphql-syntax"
"golang.go" "golang.go"
"griimick.vhs" "griimick.vhs"
"LeonardSSH.vscord" "LeonardSSH.vscord"
# "jdinhlife.gruvbox"
"jnoortheen.nix-ide" "jnoortheen.nix-ide"
"miguelsolorio.symbols"
"ms-python.isort" "ms-python.isort"
"ms-python.vscode-pylance" "ms-python.vscode-pylance"
"ms-python.python" "ms-python.python"
"mvllow.rose-pine" # "mvllow.rose-pine"
"Prisma.prisma"
"nvarner.typst-lsp" "nvarner.typst-lsp"
"Prisma.prisma"
"ronnidc.nunjucks" "ronnidc.nunjucks"
"rust-lang.rust-analyzer" "rust-lang.rust-analyzer"
"tamasfe.even-better-toml"
"sastan.twind-intellisense" "sastan.twind-intellisense"
"skellock.just" "skellock.just"
"svelte.svelte-vscode" "svelte.svelte-vscode"
"tamasfe.even-better-toml"
"timonwong.shellcheck" "timonwong.shellcheck"
"unifiedjs.vscode-mdx" "unifiedjs.vscode-mdx"
"usernamehw.errorlens"
"Vue.volar" "Vue.volar"
"xaver.clang-format"
"YoavBls.pretty-ts-errors" "YoavBls.pretty-ts-errors"
]; ];
in { in {
@ -50,7 +54,7 @@ in {
enable = true; enable = true;
package = pkgs.stdenv.mkDerivation { package = pkgs.stdenv.mkDerivation {
pname = "vscode"; pname = "vscode";
version = "1.81.2"; version = "1.85.2";
src = pkgs.emptyDirectory; src = pkgs.emptyDirectory;
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
@ -61,11 +65,14 @@ in {
mutableExtensionsDir = true; mutableExtensionsDir = true;
userSettings = { userSettings = {
"workbench.colorTheme" = "Catppuccin Frappé"; "workbench.colorTheme" = "Tokyo Night";
"workbench.iconTheme" = "catppuccin-frappe"; "workbench.iconTheme" = "symbols";
"workbench.productIconTheme" = "icons-carbon";
"workbench.sideBar.location" = "left"; "workbench.sideBar.location" = "left";
"workbench.activityBar.location" = "top"; "workbench.activityBar.location" = "top";
"symbols.hidesExplorerArrows" = false;
"catppuccin.boldKeywords" = false; "catppuccin.boldKeywords" = false;
"catppuccin.italicKeywords" = true; "catppuccin.italicKeywords" = true;
"catppuccin.accentColor" = "sky"; "catppuccin.accentColor" = "sky";

View file

@ -27,7 +27,5 @@ _: {
programs.gh = { programs.gh = {
enable = true; enable = true;
gitCredentialHelper.enable = true; gitCredentialHelper.enable = true;
# this is a TEMPORARY WORKAROUND for https://github.com/nix-community/home-manager/issues/4744
settings.version = 1;
}; };
} }