configure nvim system-wide

This commit is contained in:
Motiejus Jakštys 2023-08-18 23:33:56 +03:00
parent 1522a5284e
commit 4f337fe8c0
2 changed files with 9 additions and 3 deletions

View File

@ -128,6 +128,12 @@
programs = {
mtr.enable = true;
neovim = {
enable = true;
vimAlias = true;
defaultEditor = true;
};
sysdig.enable = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
#vim.defaultEditor = true;

View File

@ -53,14 +53,14 @@
home-manager.useGlobalPkgs = true;
home-manager.users.motiejus = {pkgs, ...}: {
home.stateVersion = "23.05";
home.packages = with pkgs; [
go
];
programs.direnv.enable = true;
programs.neovim = {
enable = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
plugins = lib.mkIf config.mj.base.users.devEnvironment [
pkgs.vimPlugins.fugitive
pkgs.vimPlugins.vim-go