diff --git a/roles/home/common.nix b/roles/home/common.nix index c8a4462..6b91360 100644 --- a/roles/home/common.nix +++ b/roles/home/common.nix @@ -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 ]; }; } diff --git a/roles/home/helix.nix b/roles/home/helix.nix new file mode 100644 index 0000000..764a7e8 --- /dev/null +++ b/roles/home/helix.nix @@ -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 + ]; + }; +}