add support for nvim in homemanager
This commit is contained in:
parent
74b48f76fb
commit
f15db93c71
2 changed files with 47 additions and 3 deletions
|
|
@ -1,6 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
/home/don/nixos/user/don/neovim.nix
|
||||
];
|
||||
home.username = "don";
|
||||
home.homeDirectory = "/home/don";
|
||||
home.stateVersion = "22.05";
|
||||
|
|
@ -35,7 +38,6 @@
|
|||
#pkgs.plasma5Packages.kdeconnect
|
||||
pkgs.kdeconnect
|
||||
pkgs.powerline-fonts
|
||||
pkgs.python310Packages.pipx
|
||||
pkgs.ranger
|
||||
pkgs.ruby
|
||||
pkgs.signal-desktop
|
||||
|
|
@ -47,11 +49,12 @@
|
|||
pkgs.taskwarrior
|
||||
pkgs.tdesktop
|
||||
pkgs.terminus-nerdfont
|
||||
pkgs.timewarrior
|
||||
pkgs.topgrade
|
||||
pkgs.ubuntu_font_family
|
||||
pkgs.ulauncher
|
||||
pkgs.vdirsyncer
|
||||
pkgs.vimHugeX
|
||||
#pkgs.vimHugeX
|
||||
pkgs.vit
|
||||
];
|
||||
|
||||
|
|
|
|||
41
user/don/neovim.nix
Normal file
41
user/don/neovim.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
nixvim = import (builtins.fetchGit {
|
||||
url = "https://github.com/pta2002/nixvim";
|
||||
});
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
#colorschemes.murphy.enable = true;
|
||||
plugins.lightline.enable = true;
|
||||
#plugins.git.enable = true;
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
CheckAttach
|
||||
ale
|
||||
ansible-vim
|
||||
#bash-support
|
||||
#git
|
||||
gitv
|
||||
tabular
|
||||
#vc.vim
|
||||
vim-airline
|
||||
vim-airline-themes
|
||||
vim-bufferline
|
||||
vim-fugitive
|
||||
vim-gitgutter
|
||||
vim-github-dashboard
|
||||
vim-markdown
|
||||
vim-misc
|
||||
vim-nix
|
||||
#vim-taskwarrior
|
||||
vim-tmux
|
||||
vim-tmux-navigator
|
||||
#winresizer
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue