diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-29 14:22:24 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-29 14:22:24 -0400 |
commit | f819e30b03dffcf9e74af4b8552e4a8ab8f54c58 (patch) | |
tree | c05f4f1db738d6cd9d2824b5000c6afc3b1d61d1 /modules/editor/neovim/default.nix | |
parent | d3bb6cbb4724bc8f18f72fa3fea3e65f73ae8d09 (diff) | |
download | nix-config-f819e30b03dffcf9e74af4b8552e4a8ab8f54c58.tar.gz nix-config-f819e30b03dffcf9e74af4b8552e4a8ab8f54c58.tar.bz2 nix-config-f819e30b03dffcf9e74af4b8552e4a8ab8f54c58.zip |
major reorganizing to seperate modules
Diffstat (limited to 'modules/editor/neovim/default.nix')
-rw-r--r-- | modules/editor/neovim/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/editor/neovim/default.nix b/modules/editor/neovim/default.nix new file mode 100644 index 0000000..c5cf990 --- /dev/null +++ b/modules/editor/neovim/default.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, user, ... }: +{ + config.home-manager.users.${user} = { + xdg.configFile."nvim/init.vim".source = ./init.vim; + xdg.configFile."nvim/lua/init.lua".source = ./init.lua; + xdg.configFile."nvim/lua/plugins.lua".source = ./plugins.lua; + + programs.neovim = { + enable = true; + defaultEditor = true; + withNodeJs = true; + }; + }; +} |