Add helix and LSP for python
This commit is contained in:
committed by
J. Fernando Sánchez
parent
f0bda1964e
commit
1522c8d6a0
13
helix/.config/helix/config.toml
Normal file
13
helix/.config/helix/config.toml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
theme = "github_dark"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
line-number = "relative"
|
||||||
|
mouse = false
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
insert = "bar"
|
||||||
|
normal = "block"
|
||||||
|
select = "underline"
|
||||||
|
|
||||||
|
[editor.file-picker]
|
||||||
|
hidden = false
|
||||||
@@ -65,6 +65,7 @@
|
|||||||
# Dev tools
|
# Dev tools
|
||||||
git
|
git
|
||||||
lazygit
|
lazygit
|
||||||
|
jujutsu
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
python3
|
python3
|
||||||
@@ -123,7 +124,7 @@
|
|||||||
XDG_BIN_HOME = "${config.home.homeDirectory}/.local/bin";
|
XDG_BIN_HOME = "${config.home.homeDirectory}/.local/bin";
|
||||||
#This variable is overriden. It does not work
|
#This variable is overriden. It does not work
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
PAGER = "bat";
|
#PAGER = "bat";
|
||||||
};
|
};
|
||||||
home.sessionPath = [ "$XDG_BIN_HOME" ];
|
home.sessionPath = [ "$XDG_BIN_HOME" ];
|
||||||
|
|
||||||
@@ -168,7 +169,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
#programs.neovim.enable = true;
|
#programs.neovim.enable = true;
|
||||||
programs.neovim.defaultEditor = true;
|
#programs.neovim.defaultEditor = false;
|
||||||
|
#programs.helix.enable = true;
|
||||||
|
#programs.helix.defaultEditor = true;
|
||||||
|
|
||||||
programs.zoxide.enable = true;
|
programs.zoxide.enable = true;
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
@@ -187,7 +190,7 @@
|
|||||||
xdg.configFile = let
|
xdg.configFile = let
|
||||||
dotfiles = "${config.home.homeDirectory}/git/dotfiles";
|
dotfiles = "${config.home.homeDirectory}/git/dotfiles";
|
||||||
|
|
||||||
createDotlink = name: {
|
createDotLink = name: {
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/${name}/.config/${name}";
|
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/${name}/.config/${name}";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
@@ -196,5 +199,6 @@
|
|||||||
"git" = createDotLink "git";
|
"git" = createDotLink "git";
|
||||||
"niri" = createDotLink "niri";
|
"niri" = createDotLink "niri";
|
||||||
"jj" = createDotLink "jj";
|
"jj" = createDotLink "jj";
|
||||||
|
"helix" = createDotLink "helix";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
jujutsu
|
|
||||||
ansible
|
ansible
|
||||||
awscli2
|
awscli2
|
||||||
cargo-cross
|
cargo-cross
|
||||||
rustup
|
rustup
|
||||||
rustc
|
rustc
|
||||||
gcc
|
gcc
|
||||||
|
python3Packages.jedi-language-server
|
||||||
|
ruff
|
||||||
vial
|
vial
|
||||||
chromium
|
chromium
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user