added neovim

This commit is contained in:
fwastring 2025-09-04 09:16:25 +02:00
parent 6738bebeb8
commit 2d0105093e
2 changed files with 24 additions and 2 deletions

20
shared/neovim.nix Normal file
View file

@ -0,0 +1,20 @@
{ 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...
}