codium and gpls

This commit is contained in:
tristan 2023-04-25 17:23:36 +01:00
parent f46b0962be
commit bf413ef00e
2 changed files with 12 additions and 2 deletions

View file

@ -56,7 +56,7 @@ let
open-code = (pkgs.writeShellScriptBin "open-code" ''
code_dir=~/Documents/code
ls $code_dir/ | ${my-deps.menu} | ${my-deps.xargs} -I_ code $code_dir/_
ls $code_dir/ | ${my-deps.menu} | ${my-deps.xargs} -I_ codium $code_dir/_
'');
};
@ -156,7 +156,7 @@ in
bind = SUPER, d, exec, wofi --show drun
bind = SUPER, Z, exec, "${pkgs.swaylock-effects}/bin/swaylock" -f
bind = SUPER, M, exec, ${ my-deps.terminal } -e ncmpcpp
bind = SUPER, E, exec, ${ my-deps.terminal } -e neomutt
bind = SUPER, E, exec, ${ my-deps.terminal } -e aerc
bind = SUPER, O, exec, pcmanfm
bind = SUPER, C, exec, ${ my-scripts.open-code }/bin/open-code
@ -541,6 +541,13 @@ in
command = "${pkgs.rnix-lsp}/bin/rnix-lsp";
};
}
{
name = "go";
auto-format = true;
language-server = {
command = "${pkgs.gopls}/bin/gopls";
};
}
];
};

View file

@ -69,6 +69,9 @@ in
programs.firefox.enable = true;
home.shellAliases = {
codium = lib.mkForce "code";
};
programs.vscode = {
package = lib.mkForce pkgs.vscode;
extensions = with pkgs; [