disable mako, add kotlin vscode extension, add ssh alias for github
This commit is contained in:
parent
f0de5bb3fd
commit
24efa5183a
4 changed files with 40 additions and 48 deletions
|
@ -3,40 +3,43 @@
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.vscodium;
|
package = pkgs.vscodium;
|
||||||
enableUpdateCheck = false;
|
|
||||||
enableExtensionUpdateCheck = false;
|
|
||||||
mutableExtensionsDir = false;
|
mutableExtensionsDir = false;
|
||||||
extensions =
|
profiles.default = {
|
||||||
# if unfree
|
enableUpdateCheck = false;
|
||||||
# with pkgs.vscode-marketplace;
|
enableExtensionUpdateCheck = false;
|
||||||
with pkgs.open-vsx; [
|
extensions =
|
||||||
vscodevim.vim
|
# if unfree
|
||||||
jnoortheen.nix-ide
|
# with pkgs.vscode-marketplace;
|
||||||
github.github-vscode-theme
|
with pkgs.open-vsx; [
|
||||||
rust-lang.rust-analyzer
|
vscodevim.vim
|
||||||
shd101wyy.markdown-preview-enhanced
|
jnoortheen.nix-ide
|
||||||
];
|
github.github-vscode-theme
|
||||||
userSettings = {
|
rust-lang.rust-analyzer
|
||||||
"workbench.colorTheme" = "GitHub Dark Default";
|
shd101wyy.markdown-preview-enhanced
|
||||||
"files.autoSave" = "afterDelay";
|
fwcd.kotlin
|
||||||
"nix.enableLanguageServer" = true;
|
];
|
||||||
"nix.serverPath" = "nil";
|
userSettings = {
|
||||||
"editor.fontFamily" = "IBM Plex Mono";
|
"workbench.colorTheme" = "GitHub Dark Default";
|
||||||
"editor.fontSize" = 16;
|
"files.autoSave" = "afterDelay";
|
||||||
"editor.wordWrap" = "on";
|
"nix.enableLanguageServer" = true;
|
||||||
|
"nix.serverPath" = "nil";
|
||||||
|
"editor.fontFamily" = "IBM Plex Mono";
|
||||||
|
"editor.fontSize" = 16;
|
||||||
|
"editor.wordWrap" = "on";
|
||||||
|
|
||||||
# vim mode settings
|
# vim mode settings
|
||||||
"vim.handleKeys" = {
|
"vim.handleKeys" = {
|
||||||
"<C-b>" = false; # file tree toggle
|
"<C-b>" = false; # file tree toggle
|
||||||
|
};
|
||||||
|
"vim.normalModeKeyBindings" = [
|
||||||
|
{
|
||||||
|
"before" = [ ";" ];
|
||||||
|
"after" = [ ":" ];
|
||||||
|
"silent" = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
"workbench.startupEditor" = "none";
|
||||||
};
|
};
|
||||||
"vim.normalModeKeyBindings" = [
|
|
||||||
{
|
|
||||||
"before" = [ ";" ];
|
|
||||||
"after" = [ ":" ];
|
|
||||||
"silent" = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
"workbench.startupEditor" = "none";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,11 @@
|
||||||
};
|
};
|
||||||
help.autocorrect = 1;
|
help.autocorrect = 1;
|
||||||
"mergetool \"vimdiff\"".cmd = "nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'";
|
"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;
|
programs.ripgrep.enable = true;
|
||||||
|
|
|
@ -148,22 +148,6 @@
|
||||||
programs.waybar.enable = true;
|
programs.waybar.enable = true;
|
||||||
programs.feh.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 = {
|
xdg.configFile = {
|
||||||
rofi.source = ../rofi;
|
rofi.source = ../rofi;
|
||||||
waybar.source = ../waybar;
|
waybar.source = ../waybar;
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
git
|
git
|
||||||
python3
|
python3
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
mako
|
# mako # sway config uses this
|
||||||
tree
|
tree
|
||||||
kitty
|
kitty
|
||||||
borgbackup
|
borgbackup
|
||||||
|
|
Loading…
Add table
Reference in a new issue