disable mako, add kotlin vscode extension, add ssh alias for github

This commit is contained in:
cy 2025-02-23 12:47:42 -05:00
parent f0de5bb3fd
commit 24efa5183a
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 40 additions and 48 deletions

View file

@ -3,40 +3,43 @@
programs.vscode = {
enable = true;
package = pkgs.vscodium;
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
mutableExtensionsDir = false;
extensions =
# if unfree
# with pkgs.vscode-marketplace;
with pkgs.open-vsx; [
vscodevim.vim
jnoortheen.nix-ide
github.github-vscode-theme
rust-lang.rust-analyzer
shd101wyy.markdown-preview-enhanced
];
userSettings = {
"workbench.colorTheme" = "GitHub Dark Default";
"files.autoSave" = "afterDelay";
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
"editor.fontFamily" = "IBM Plex Mono";
"editor.fontSize" = 16;
"editor.wordWrap" = "on";
profiles.default = {
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
extensions =
# if unfree
# with pkgs.vscode-marketplace;
with pkgs.open-vsx; [
vscodevim.vim
jnoortheen.nix-ide
github.github-vscode-theme
rust-lang.rust-analyzer
shd101wyy.markdown-preview-enhanced
fwcd.kotlin
];
userSettings = {
"workbench.colorTheme" = "GitHub Dark Default";
"files.autoSave" = "afterDelay";
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
"editor.fontFamily" = "IBM Plex Mono";
"editor.fontSize" = 16;
"editor.wordWrap" = "on";
# vim mode settings
"vim.handleKeys" = {
"<C-b>" = false; # file tree toggle
# vim mode settings
"vim.handleKeys" = {
"<C-b>" = false; # file tree toggle
};
"vim.normalModeKeyBindings" = [
{
"before" = [ ";" ];
"after" = [ ":" ];
"silent" = true;
}
];
"workbench.startupEditor" = "none";
};
"vim.normalModeKeyBindings" = [
{
"before" = [ ";" ];
"after" = [ ":" ];
"silent" = true;
}
];
"workbench.startupEditor" = "none";
};
};
}

View file

@ -58,6 +58,11 @@
};
help.autocorrect = 1;
"mergetool \"vimdiff\"".cmd = "nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'";
url = {
"ssh://git@github.com/" = {
insteadOf = "https://github.com/";
};
};
};
};
programs.ripgrep.enable = true;

View file

@ -148,22 +148,6 @@
programs.waybar.enable = true;
programs.feh.enable = true;
services.mako = {
enable = false;
backgroundColor = "#1a1a1a";
defaultTimeout = 5000;
borderSize = 0;
borderRadius = 10;
font = "DejaVu Sans Mono 11";
padding = "10";
textColor = "#ffffff";
extraConfig = ''
[urgency=high]
background-color=#c00000
border-color=#ff0000
'';
};
xdg.configFile = {
rofi.source = ../rofi;
waybar.source = ../waybar;

View file

@ -153,7 +153,7 @@
git
python3
wl-clipboard
mako
# mako # sway config uses this
tree
kitty
borgbackup