initial
This commit is contained in:
19
config/colorschemes/ayu.nix
Normal file
19
config/colorschemes/ayu.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
ayu.enable = lib.mkEnableOption "Enable ayu module";
|
||||
};
|
||||
config = lib.mkIf config.ayu.enable {
|
||||
colorschemes = {
|
||||
ayu = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mirage = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
17
config/colorschemes/base16.nix
Normal file
17
config/colorschemes/base16.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
base16.enable = lib.mkEnableOption "Enable base16 module";
|
||||
};
|
||||
config = lib.mkIf config.base16.enable {
|
||||
colorschemes = {
|
||||
base16 = {
|
||||
enable = true;
|
||||
colorscheme = "ayu-mirage";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
57
config/colorschemes/catppuccin.nix
Normal file
57
config/colorschemes/catppuccin.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
catppuccin.enable = lib.mkEnableOption "Enable catppuccin module";
|
||||
};
|
||||
config = lib.mkIf config.catppuccin.enable {
|
||||
colorschemes = {
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
settings = {
|
||||
background = {
|
||||
light = "macchiato";
|
||||
dark = "mocha";
|
||||
};
|
||||
flavour = "mocha"; # "latte", "mocha", "frappe", "macchiato" or raw lua code
|
||||
disable_bold = false;
|
||||
disable_italic = false;
|
||||
disable_underline = false;
|
||||
transparent_background = true;
|
||||
term_colors = true;
|
||||
integrations = {
|
||||
cmp = true;
|
||||
noice = true;
|
||||
notify = true;
|
||||
neotree = true;
|
||||
harpoon = true;
|
||||
gitsigns = true;
|
||||
which_key = true;
|
||||
illuminate = {
|
||||
enabled = true;
|
||||
};
|
||||
treesitter = true;
|
||||
treesitter_context = true;
|
||||
telescope.enabled = true;
|
||||
indent_blankline.enabled = true;
|
||||
mini.enabled = true;
|
||||
native_lsp = {
|
||||
enabled = true;
|
||||
inlay_hints = {
|
||||
background = true;
|
||||
};
|
||||
underlines = {
|
||||
errors = ["underline"];
|
||||
hints = ["underline"];
|
||||
information = ["underline"];
|
||||
warnings = ["underline"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
22
config/colorschemes/default.nix
Normal file
22
config/colorschemes/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./ayu.nix
|
||||
./base16.nix
|
||||
./catppuccin.nix
|
||||
./rose-pine.nix
|
||||
];
|
||||
|
||||
options = {
|
||||
colorschemes.enable = lib.mkEnableOption "Enable colorschemes module";
|
||||
};
|
||||
config = lib.mkIf config.colorschemes.enable {
|
||||
ayu.enable = lib.mkDefault true;
|
||||
base16.enable = lib.mkDefault false;
|
||||
catppuccin.enable = lib.mkDefault false;
|
||||
rose-pine.enable = lib.mkDefault false;
|
||||
};
|
||||
}
|
23
config/colorschemes/rose-pine.nix
Normal file
23
config/colorschemes/rose-pine.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
rose-pine.enable = lib.mkEnableOption "Enable rose-pine module";
|
||||
};
|
||||
config = lib.mkIf config.rose-pine.enable {
|
||||
colorschemes = {
|
||||
rose-pine = {
|
||||
enable = true;
|
||||
settings = {
|
||||
styles = {
|
||||
italic = true;
|
||||
bold = true;
|
||||
transparency = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user