summaryrefslogtreecommitdiffstats
path: root/neovim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'neovim.nix')
-rw-r--r--neovim.nix23
1 files changed, 15 insertions, 8 deletions
diff --git a/neovim.nix b/neovim.nix
index de61b98..6bab47a 100644
--- a/neovim.nix
+++ b/neovim.nix
@@ -4,17 +4,24 @@
pkgs,
inputs,
...
-}: let
-dotfiles.mutable = true;
-dotfiles.path = "${config.home.homeDirectory}/.dotfiles";
- filePath = "${config.dotfiles.path}/astronvim-config";
- configSrc =
- config.lib.file.mkOutOfStoreSymlink filePath;
-in {
- xdg.configFile."nvim".source = ./astronvim-config;
+}: {
+ home.file.".config/nvim".source = config.lib.file.mkOutOfStoreSymlink "/home/andrew/.dotfiles/astronvim-config";
+ programs.ripgrep.enable = true;
+ programs.lazygit.enable = true;
+ programs.bottom.enable = true;
+
+ # home.persistence."/persist${config.home.homeDirectory}" = {
+ # directories = [
+ # ".local/share/nvim"
+ # ".local/state/nvim"
+ # ".cache/nvim"
+ # ];
+ # };
programs.neovim = {
enable = true;
+ withPython3 = true;
+ withNodeJs = true;
defaultEditor = true;
};
}