home | lunarvim -> nixvim

Still need to update keybindings.
This commit is contained in:
Don Harper 2025-07-12 23:41:08 -05:00
parent 4f36b27fb0
commit a3b0e7c41e
3 changed files with 57 additions and 4 deletions

View file

@ -1,6 +1,5 @@
{ config, pkgs, inputs, osConfig, outputs, ... }: { { config, pkgs, inputs, osConfig, outputs, ... }: {
imports = [ imports = [
inputs.nixvim.homeManagerModules.nixvim
./aerc.nix ./aerc.nix
./bash.nix ./bash.nix
./btop.nix ./btop.nix
@ -15,8 +14,8 @@
./mail.nix ./mail.nix
./mopidy.nix ./mopidy.nix
./naviterm.nix ./naviterm.nix
./neovim.nix
./newsboat.nix ./newsboat.nix
./nixvim.nix
./ssh.nix ./ssh.nix
./taskwarrior.nix ./taskwarrior.nix
./topgrade.nix ./topgrade.nix
@ -63,7 +62,6 @@
lazygit lazygit
links2 links2
liquidprompt liquidprompt
lunarvim
lynx lynx
mdcat mdcat
moreutils moreutils
@ -84,6 +82,7 @@
socat socat
sqlite sqlite
tailscale tailscale
termshark
tig tig
topgrade topgrade
trippy trippy

50
home/common/nixvim.nix Normal file
View file

@ -0,0 +1,50 @@
{ config, pkgs, nixvim, ... }: {
programs = {
ripgrep.enable = true;
nixvim = {
enable = true;
defaultEditor = true;
colorschemes.dracula.enable = true;
plugins = {
airline.enable = true;
alpha = {
enable = true;
theme = "dashboard";
};
bufferline.enable = true;
cmp-buffer.enable = true;
cmp-nvim-lsp.enable = true;
cmp-path.enable = true;
cmp_luasnip.enable = true;
comment.enable = true;
friendly-snippets.enable = true;
gitsigns.enable = true;
indent-blankline.enable = true;
lazy.enable = true;
lazygit.enable = true;
lsp = {
servers = {
bashls.enable = true;
html.enable = true;
lua_ls.enable = true;
markdown_oxide.enable = true;
nixd.enable = true;
perlls.enable = true;
pylsp.enable = true;
vimls.enable = true;
};
};
lualine.enable = true;
luasnip.enable = true;
neo-tree.enable = true;
nix.enable = true;
none-ls.enable = true;
nvim-autopairs.enable = true;
nvim-cmp.enable = true;
nvim-tree.enable = true;
project-nvim.enable = true;
telescope.enable = true;
};
};
};
}

View file

@ -10,7 +10,11 @@
backupFileExtension = "home-manager-backup"; backupFileExtension = "home-manager-backup";
users = { users = {
don = { don = {
imports = [ inputs.catppuccin.homeModules.catppuccin ./common ]; imports = [
inputs.catppuccin.homeModules.catppuccin
inputs.nixvim.homeManagerModules.nixvim
./common
];
home = { home = {
username = "don"; username = "don";
homeDirectory = "/home/don"; homeDirectory = "/home/don";