-
Notifications
You must be signed in to change notification settings - Fork 31
/
default.nix
97 lines (86 loc) · 2.07 KB
/
default.nix
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{ config, lib, ... }:
{
imports = [
./autocommands.nix
./keys.nix
./sets.nix
./highlight.nix
./plug/colorscheme/colorscheme.nix
./plug/completion/avante.nix
./plug/completion/blink.nix
./plug/completion/blink-compat.nix
./plug/completion/cmp.nix
./plug/completion/copilot-cmp.nix
./plug/completion/schemastore.nix
./plug/git/gitblame.nix
./plug/git/gitlinker.nix
./plug/git/gitsigns.nix
./plug/lsp/conform.nix
./plug/lsp/lsp.nix
./plug/lsp/lspsaga.nix
./plug/lsp/none-ls.nix
./plug/lsp/trouble.nix
./plug/mini
./plug/snacks
./plug/snippets/luasnip.nix
./plug/statusline/lualine.nix
#./plug/statusline/staline.nix
./plug/treesitter/treesitter-context.nix
./plug/treesitter/treesitter-textobjects.nix
./plug/treesitter/treesitter.nix
./plug/ui/bufferline.nix
./plug/ui/dressing.nix
./plug/ui/fzf-lua.nix
./plug/ui/indent-blankline.nix
./plug/ui/noice.nix
./plug/ui/nvim-notify.nix
./plug/ui/smart-splits.nix
./plug/ui/telescope.nix
./plug/utils/comment-box.nix
./plug/utils/comment.nix
./plug/utils/helm.nix
./plug/utils/markview.nix
./plug/utils/obsidian.nix
./plug/utils/spectre.nix
./plug/utils/trunk.nix
./plug/utils/ufo.nix
./plug/utils/undotree.nix
];
options = {
theme = lib.mkOption {
default = lib.mkDefault "paradise";
type = lib.types.enum [
"aquarium"
"decay"
"edge-dark"
"everblush"
"everforest"
"far"
"gruvbox"
"jellybeans"
"material"
"material-darker"
"mountain"
"ocean"
"oxocarbon"
"paradise"
"tokyonight"
"yoru"
];
};
assistant = lib.mkOption {
default = "none";
type = lib.types.enum [
"copilot"
"none"
];
};
};
config = {
# The base16 theme to use, if you want to use another theme, change it in colorscheme.nix
theme = "paradise";
extraConfigLua = ''
_G.theme = "${config.theme}"
'';
};
}