configure nvim system-wide
This commit is contained in:
parent
1522a5284e
commit
4f337fe8c0
@ -128,6 +128,12 @@
|
|||||||
programs = {
|
programs = {
|
||||||
mtr.enable = true;
|
mtr.enable = true;
|
||||||
|
|
||||||
|
neovim = {
|
||||||
|
enable = true;
|
||||||
|
vimAlias = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
};
|
||||||
|
|
||||||
sysdig.enable = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
|
sysdig.enable = pkgs.stdenv.hostPlatform.system == "x86_64-linux";
|
||||||
|
|
||||||
#vim.defaultEditor = true;
|
#vim.defaultEditor = true;
|
||||||
|
@ -53,14 +53,14 @@
|
|||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.users.motiejus = {pkgs, ...}: {
|
home-manager.users.motiejus = {pkgs, ...}: {
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
go
|
||||||
|
];
|
||||||
|
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
|
||||||
vimAlias = true;
|
|
||||||
vimdiffAlias = true;
|
vimdiffAlias = true;
|
||||||
defaultEditor = true;
|
|
||||||
plugins = lib.mkIf config.mj.base.users.devEnvironment [
|
plugins = lib.mkIf config.mj.base.users.devEnvironment [
|
||||||
pkgs.vimPlugins.fugitive
|
pkgs.vimPlugins.fugitive
|
||||||
pkgs.vimPlugins.vim-go
|
pkgs.vimPlugins.vim-go
|
||||||
|
Loading…
Reference in New Issue
Block a user