edit the config structure to use modules rather than sets
This commit is contained in:
parent
515bf06620
commit
2b91fb060a
4 changed files with 32 additions and 5 deletions
|
|
@ -1,5 +1,24 @@
|
||||||
{
|
{lib, ...}:{
|
||||||
|
# TODO: Make colorscheme configurable
|
||||||
|
colorscheme = lib.mkOverride 500 "everforest";
|
||||||
|
|
||||||
colorschemes = {
|
colorschemes = {
|
||||||
|
kanagawa.enable = true;
|
||||||
|
nord.enable = true;
|
||||||
|
tokyonight = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
style = "storm";
|
||||||
|
light_style = "day";
|
||||||
|
transparent = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
everforest = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
enable_italic = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
@ -8,6 +27,13 @@
|
||||||
|
|
||||||
# Needed to keep terminal transparency, if any
|
# Needed to keep terminal transparency, if any
|
||||||
transparent_background = false;
|
transparent_background = false;
|
||||||
|
|
||||||
|
styles = {
|
||||||
|
keywords = [ "italic" ];
|
||||||
|
conditionals = [ "italic" ];
|
||||||
|
functions = [ "italic" ];
|
||||||
|
loops = [ "italic" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,6 @@ let
|
||||||
)
|
)
|
||||||
(builtins.readDir ./.)
|
(builtins.readDir ./.)
|
||||||
);
|
);
|
||||||
in
|
in {
|
||||||
lib.mkMerge (map (file: import ./${file}) definitions)
|
imports = map (file: import ./${file}) definitions;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
_: {
|
||||||
keymaps =
|
keymaps =
|
||||||
(import ./buffers.nix)
|
(import ./buffers.nix)
|
||||||
++ (import ./diagnostics.nix)
|
++ (import ./diagnostics.nix)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Neovim options
|
# Neovim options
|
||||||
# Use :options to get the list of all options
|
# Use :options to get the list of all options
|
||||||
# Use :h <option> to load help for given <option>
|
# Use :h <option> to load help for given <option>
|
||||||
{
|
_:{
|
||||||
opts = {
|
opts = {
|
||||||
# Don't stop backspace at insert
|
# Don't stop backspace at insert
|
||||||
backspace.__raw = ''
|
backspace.__raw = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue