mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Move the neovim config to the system level
This commit is contained in:
parent
926d5bdc51
commit
c7f838feae
4 changed files with 7 additions and 24 deletions
|
|
@ -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) [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue