Add nixvim
This commit is contained in:
@@ -11,11 +11,7 @@
|
||||
imports = [
|
||||
outputs.homeManagerModules
|
||||
|
||||
# Or modules exported from other flakes (such as nix-colors):
|
||||
# inputs.nix-colors.homeManagerModules.default
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
imports = [
|
||||
./git.nix
|
||||
./fish.nix
|
||||
./nixvim.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{ ... }: {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
env = { EDITOR = "nvim"; };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user