roles/home/common: replaced neovim with helix

This commit is contained in:
Giulio De Pasquale 2022-11-07 17:31:44 +01:00
parent 4bb5af4b5a
commit dbe6b5956f
2 changed files with 23 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
imports = [ ./zsh.nix ./git.nix ./neovim.nix ];
imports = [ ./zsh.nix ./git.nix ./helix.nix ];
home = { packages = with pkgs; [ rizin sshfs victor-mono home-manager ]; };
}

22
roles/home/helix.nix Normal file
View File

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
home = {
sessionVariables = {
EDITOR = "hx";
VISUAL = "hx";
};
file.".config/helix/config.toml".text = ''
theme = "monokai"
'';
packages = with pkgs.unstable; [
helix
clang-tools
rust-analyzer
rnix-lsp
python310Packages.python-lsp-server
];
};
}