switch to vscodium

This commit is contained in:
Leon Vatthauer 2024-02-25 21:03:35 +01:00
parent 4338cea425
commit 173f6e446b
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8
4 changed files with 81 additions and 89 deletions

View file

@ -2,25 +2,18 @@
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
jdinhlife.gruvbox
vscodevim.vim
bbenoist.nix
yzhang.markdown-all-in-one
haskell.haskell
justusadam.language-haskell
maximedenes.vscoq
james-yu.latex-workshop
bbenoist.nix
mkhl.direnv
catppuccin.catppuccin-vsc
valentjn.vscode-ltex
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "theme-panda";
publisher = "tinkertrain";
version = "1.3.0";
sha256 = "sha256-ijOXoby3FHgDhF2sibXnGpkldKNPCoEXCY0Iw0ndUtw=";
}
{
name = "agda-mode";
publisher = "banacorn";
@ -40,7 +33,6 @@
"editor.unicodeHighlight.ambiguousCharacters" = false;
"editor.semanticHighlighting.enabled" = true;
"workbench.colorTheme" = "Catppuccin Mocha";
# "workbench.iconTheme" = "catppuccin-mocha";
"haskell.manageHLS" = "PATH";
"editor.fontFamily" = "Berkeley Mono, DejaVu Sans Mono, monospace, Unifont";
"terminal.integrated.minimumContrastRatio" = 1;
@ -65,12 +57,8 @@
"window.titleBarStyle" = "custom";
"window.customMenuBarAltFocus" = false;
"window.enableMenuBarMnemonics" = false;
#"ltex.additionalRules.motherTongue" = "de-DE";
#"ltex.language" = "de-DE";
#"ltex.ltex-ls.path" = "/etc/profiles/per-user/leonv/";
"ltex.java.path" = "/etc/profiles/per-user/leonv/";
#"ltex.sentenceCacheSize" = 50000;
#"ltex.java.maximumHeapSize" = 8192;
"ltex.sentenceCacheSize" = 50000;
"ltex.java.maximumHeapSize" = 8192;
"editor.tabSize" = 2;
"explorer.excludeGitIgnore" = true;
"files.exclude" = {

View file

@ -158,7 +158,7 @@
socat
];
system.stateVersion = "23.11";
system.stateVersion = "24.05";
# NFS setup
services.rpcbind.enable = true; # needed for NFS

View file

@ -6,7 +6,7 @@
./../common/eww
];
/* The home.stateVersion option does not have a default and must be set */
home.stateVersion = "23.11";
home.stateVersion = "24.05";
home.username = "leonv";
home.homeDirectory = "/home/leonv";
@ -97,6 +97,7 @@
ls = "eza";
ll = "eza -l";
l = "eza -lah";
code = "codium";
};
initExtra = ''
function rebuild () {

View file

@ -58,6 +58,9 @@
};
programs.zsh = {
enable = true;
shellAliases = {
code = "codium";
};
oh-my-zsh = {
enable = true;
plugins = [ "git" ];