summaryrefslogtreecommitdiffstats
path: root/neovim.nix
blob: de61b98e2e1f2a2246cd8de13708932a5a2826ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  config,
  lib,
  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;

	programs.neovim = {
		enable = true;
		defaultEditor = true;
	};
}