summaryrefslogtreecommitdiffstats
path: root/neovim.nix
blob: ffe4f1ab30f615dc61d8579a5d07c3991a8d668c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  config,
  lib,
  pkgs,
  inputs,
  ...
}:
{
  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;
  programs.go.enable = true;
  programs.gcc.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;
  };
}