diff --git a/config/shared.nix b/config/shared.nix index ab45c83..06c4655 100644 --- a/config/shared.nix +++ b/config/shared.nix @@ -31,7 +31,6 @@ # List packages installed in system profile. environment.systemPackages = with pkgs; [ - vim git killall ]; diff --git a/home/headful-nixos.nix b/home/headful-nixos.nix index d92e4ab..48cea5c 100644 --- a/home/headful-nixos.nix +++ b/home/headful-nixos.nix @@ -8,6 +8,7 @@ imports = [ ./shared.nix ./hacking.nix + ./neovim.nix ./emacs.nix ./zsh.nix ]; diff --git a/home/headless-nixos.nix b/home/headless-nixos.nix index 0d78b6d..818a1d9 100644 --- a/home/headless-nixos.nix +++ b/home/headless-nixos.nix @@ -7,7 +7,7 @@ imports = [ ./shared.nix - ./emacs.nix + ./neovim.nix ./zsh.nix ]; diff --git a/home/neovim.nix b/home/neovim.nix new file mode 100644 index 0000000..1ffcc5a --- /dev/null +++ b/home/neovim.nix @@ -0,0 +1,11 @@ +{ inputs, config, pkgs, ... }: { + programs.neovim = { + enable = true; + vimAlias = true; + }; + + home.file = { + ".config/nvim/init.vim".source = ../dotfiles/.config/nvim/init.vim; + ".config/nvim/coc-settings.json".source = ../dotfiles/.config/nvim/init.vim; + }; +}