mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 12:40:13 +00:00
move neovim to module
This commit is contained in:
12
modules/editor/neovim.nix
Normal file
12
modules/editor/neovim.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
neovim
|
||||
gcc # for tree-sitter
|
||||
];
|
||||
|
||||
xdg.configFile = { "nvim/init.lua".source = ../../nvim.configlink/init.lua; };
|
||||
|
||||
programs.git.extraConfig.core.editor = "nvim";
|
||||
|
||||
}
|
@ -126,4 +126,24 @@
|
||||
shellAliases = { };
|
||||
shellInit = "";
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"starship.toml".source = ../../starship/starship.toml.configlink;
|
||||
"fish/functions".source = ../../fish.configlink/functions;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user