feat: add work laptop configuration
This commit is contained in:
13
home/dogar/common/optional/nvim.nix
Normal file
13
home/dogar/common/optional/nvim.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{config, ...}: {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
|
||||
# Create a symlink from ~/.config/nvim to the dotfiles directory
|
||||
home.file.".config/nvim".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
"${config.home.homeDirectory}/git/nix-config/dotfiles/nvim";
|
||||
}
|
||||
Reference in New Issue
Block a user