blob: 93729501f46a78d6185f053504c9ed99322c1452 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{pkgs, lib, ...}: {
imports = [
./autocmds
./clipboard
./mappings
./options
./plugins
];
programs.nixvim = {
enable = true;
# source: https://www.patorjk.com/software/taag/#p=display&f=ANSI%20Shadow&t=Neovim
extraConfigLuaPre = lib.mkBefore ''
---------------------------------------------------------------------------
--
-- ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
-- ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
-- ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
-- ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
-- ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
-- ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
--
---------------------------------------------------------------------------
'';
extraPackages = with pkgs; [
/*
These are mostly linters and formatters used for different file types.
Including them here is fine, as they are not necessarily sync able to different people.
*/
# nix
alejandra
statix
# yaml
yamllint
# shell
shellcheck
shfmt
];
};
}
|