nixos/profiles/base: install vim w/nix-syntax plugin

Considering that you most likely edit Nix code in the installer, that
seems like a useful thing.

The size of the ISO I got from

    nix-build nixos/release.nix -A iso_minimal.x86_64-linux

is still at 877M.
This commit is contained in:
Maximilian Bosch 2022-11-15 22:59:44 +01:00
parent ef166d7ff3
commit 0b5a0cbc69
No known key found for this signature in database
GPG Key ID: 9A6EEA275CA5BE0A

View File

@ -20,7 +20,13 @@
pkgs.mkpasswd # for generating password files
# Some text editors.
pkgs.vim
(pkgs.vim.customize {
name = "vim";
vimrcConfig.packages.default = {
start = [ pkgs.vimPlugins.vim-nix ];
};
vimrcConfig.customRC = "syntax on";
})
# Some networking tools.
pkgs.fuse