add nvf
This commit is contained in:
32
users/blake/dots/neovim/default.nix
Normal file
32
users/blake/dots/neovim/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs, config, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.nvf.homeManagerModules.default
|
||||
];
|
||||
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
vimAlias = true;
|
||||
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
|
||||
lsp = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
languages = {
|
||||
enableTreesitter = true;
|
||||
|
||||
nix.enable = true;
|
||||
rust.enable = true;
|
||||
lua.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,17 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./dots/neovim
|
||||
];
|
||||
|
||||
# general config
|
||||
home.username = "blake";
|
||||
home.homeDirectory = "/home/blake";
|
||||
|
||||
# stand alone packages
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
lf
|
||||
ripgrep
|
||||
btop
|
||||
@@ -54,6 +60,7 @@
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user