-
Notifications
You must be signed in to change notification settings - Fork 32
/
default.nix
101 lines (90 loc) · 2.21 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
98
99
100
101
{ config, lib, ... }:
{
imports = [
./autocommands.nix
./keys.nix
./sets.nix
./highlight.nix
./plug/colorscheme/colorscheme.nix
./plug/completion/blink.nix
./plug/completion/cmp.nix
./plug/completion/copilot-cmp.nix
./plug/completion/codecompanion.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/default.nix
./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/alpha.nix
# ./plug/ui/btw.nix
./plug/ui/bufferline.nix
./plug/ui/dressing.nix
./plug/ui/indent-blankline.nix
./plug/ui/noice.nix
./plug/ui/nvim-notify.nix
#./plug/ui/precognition.nix
./plug/ui/smart-splits.nix
./plug/ui/telescope.nix
./plug/utils/colorizer.nix
./plug/utils/comment-box.nix
./plug/utils/comment.nix
./plug/utils/helm.nix
./plug/utils/illuminate.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
./plug/utils/whichkey.nix
./plug/utils/yaml-companion.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"
];
};
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 = "far";
extraConfigLua = ''
_G.theme = "${config.theme}"
'';
};
}