nixos-config/modules/vim/default.nix
2023-10-16 02:24:43 -04:00

13 lines
259 B
Nix

{ config, lib, pkgs, ... }:
{
environment.variables.EDITOR = "vim";
environment.systemPackages = with pkgs; [
lunarvim
nodePackages.prettier
(writeShellScriptBin "black" ''
exec ${pkgs.python3.pkgs.black}/bin/black "$@"
'')
];
}