20 lines
536 B
Nix
20 lines
536 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
# Replace with the URL of your Neovim configuration GitHub repository
|
|
neovimConfig = builtins.fetchGit {
|
|
url = "https://github.com/fwastring/nvim.git";
|
|
# Optional: specify a specific branch, tag, or commit hash
|
|
ref = "main";
|
|
};
|
|
|
|
in
|
|
{
|
|
# Enable the Home Manager Neovim module if you haven't already
|
|
# programs.neovim.enable = true;
|
|
|
|
# Create a symlink from the Nix store to the Neovim config directory
|
|
xdg.configFile."nvim".source = neovimConfig;
|
|
|
|
# Other Home Manager options...
|
|
}
|