mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
20 lines
471 B
Nix
20 lines
471 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.variables.EDITOR = "vim";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nodePackages.prettier
|
|
|
|
(lunarvim.override (_: {
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
globalConfig = builtins.readFile ./init.lua + ''
|
|
vim.cmd('source ${pkgs.vimPlugins.vim-tmux-navigator}/plugin/tmux_navigator.vim')
|
|
'';
|
|
}))
|
|
|
|
(writeShellScriptBin "black" ''
|
|
exec ${pkgs.python3.pkgs.black}/bin/black "$@"
|
|
'')
|
|
];
|
|
}
|