mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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 "$@"
|
|
'')
|
|
];
|
|
}
|