Move the neovim config to the system level

This commit is contained in:
SebastianStork 2024-04-29 22:13:37 +02:00
parent 926d5bdc51
commit c7f838feae
4 changed files with 7 additions and 24 deletions

View file

@ -35,12 +35,14 @@
console.keyMap = "de-latin1-nodeadkeys";
environment.systemPackages = [
pkgs.git
pkgs.neovim
];
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
environment.variables.EDITOR = "nvim";
environment.systemPackages = [pkgs.git];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (pkgs.lib.getName pkg) [