gdd
dee54e706d
Initial configuration of remote-builder-01. Co-authored-by: Gabriel DORIATH DOHLER <gabriel.doriath.dohler@ens.psl.eu> Reviewed-on: https://git.rz.ens.wtf/Klub-RZ/infrastructure/pulls/2 Co-authored-by: gdd <gabriel.doriath.dohler@ens.fr> Co-committed-by: gdd <gabriel.doriath.dohler@ens.fr>
31 lines
686 B
Nix
31 lines
686 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.variables = { EDITOR = "vim"; };
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nixfmt
|
|
git
|
|
(neovim.override {
|
|
vimAlias = true;
|
|
configure = {
|
|
packages.myPlugins = with pkgs.vimPlugins; {
|
|
start = [ vim-lastplace vim-nix ];
|
|
opt = [];
|
|
};
|
|
customRC = ''
|
|
set encoding=utf-8
|
|
set wildmenu
|
|
|
|
set nocompatible
|
|
set backspace=indent,eol,start
|
|
set cursorline
|
|
hi CursorLine term=bold cterm=bold ctermbg=darkgrey
|
|
set number
|
|
set relativenumber
|
|
set tabstop=4
|
|
set expandtab
|
|
'';
|
|
};
|
|
}
|
|
)];
|
|
}
|