Files
nixos-config/user/programs/neovim/default.nix
Morten Olsen a1dfe29b3f update
2024-02-20 00:01:02 +01:00

27 lines
586 B
Nix

{ config, pkgs, ... }:
let
astronvim = builtins.fetchGit {
url = "https://github.com/AstroNvim/AstroNvim";
rev = "ba0fbdf974eb63639e43d6467f7232929b8b9b4c";
};
astronvimUser = builtins.fetchGit {
url = "https://foo:foo@github.com/morten-olsen/astrovim";
rev = "295278f715810a2917e0eb38c304cfc290e796d7";
};
in {
programs.neovim.enable = true;
home.packages = [
pkgs.marksman
];
home.file = {
".config/nvim" = {
source = astronvim;
recursive = true;
};
".config/nvim/lua/user" = {
source = astronvimUser;
};
};
}