Add helix and LSP for python

This commit is contained in:
J. Fernando Sánchez
2026-02-05 10:44:12 +01:00
committed by J. Fernando Sánchez
parent f0bda1964e
commit 1522c8d6a0
3 changed files with 22 additions and 4 deletions

View 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

View File

@@ -65,6 +65,7 @@
# Dev tools
git
lazygit
jujutsu
# Python
python3
@@ -123,7 +124,7 @@
XDG_BIN_HOME = "${config.home.homeDirectory}/.local/bin";
#This variable is overriden. It does not work
EDITOR = "hx";
PAGER = "bat";
#PAGER = "bat";
};
home.sessionPath = [ "$XDG_BIN_HOME" ];
@@ -168,7 +169,9 @@
};
#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.bash = {
@@ -187,7 +190,7 @@
xdg.configFile = let
dotfiles = "${config.home.homeDirectory}/git/dotfiles";
createDotlink = name: {
createDotLink = name: {
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/${name}/.config/${name}";
recursive = true;
};
@@ -196,5 +199,6 @@
"git" = createDotLink "git";
"niri" = createDotLink "niri";
"jj" = createDotLink "jj";
"helix" = createDotLink "helix";
};
}

View File

@@ -1,13 +1,14 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
jujutsu
ansible
awscli2
cargo-cross
rustup
rustc
gcc
python3Packages.jedi-language-server
ruff
vial
chromium
];