added neovim
This commit is contained in:
parent
6738bebeb8
commit
2d0105093e
2 changed files with 24 additions and 2 deletions
20
shared/neovim.nix
Normal file
20
shared/neovim.nix
Normal 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...
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue