mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-05-07 02:16:33 +05:30
feat: setup base
This commit is contained in:
42
modules/hm/shell/neovim.nix
Normal file
42
modules/hm/shell/neovim.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
flake.modules.homeManager.shell =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.file = {
|
||||
".config/nvim" = {
|
||||
recursive = true;
|
||||
source = "${pkgs.tnvim}";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
gcc
|
||||
neovide
|
||||
|
||||
# nix
|
||||
nil # Language Server
|
||||
statix # Lints and suggestions
|
||||
deadnix # Find and remove unused
|
||||
alejandra # Code Formatter
|
||||
|
||||
# lua
|
||||
luarocks
|
||||
|
||||
# ts
|
||||
typescript
|
||||
|
||||
gdu
|
||||
ripgrep
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user