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