fix(colors): use basix instead of downloading jsons

This commit is contained in:
Artur Manuel 2025-02-23 18:07:48 +00:00
commit 73b9963bbc
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
3 changed files with 7 additions and 4 deletions

View file

@ -1 +0,0 @@
{"base00":"#272e33","base01":"#2e383c","base02":"#414b50","base03":"#859289","base04":"#9da9a0","base05":"#d3c6aa","base06":"#edeada","base07":"#fffbef","base08":"#e67e80","base09":"#e69875","base0A":"#dbbc7f","base0B":"#a7c080","base0C":"#83c092","base0D":"#7fbbb3","base0E":"#d699b6","base0F":"#9da9a0"}

View file

@ -32,7 +32,7 @@
./nvf.nix ./nvf.nix
]; ];
inherit pkgs; inherit pkgs;
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {colors = inputs.basix.schemeData.base16.everforest-dark-hard.palette;};
}) })
.neovim; .neovim;
}); });

View file

@ -1,4 +1,8 @@
{pkgs, ...}: let {
pkgs,
colors,
...
}: let
inherit (pkgs) vimPlugins; inherit (pkgs) vimPlugins;
in { in {
config.vim = { config.vim = {
@ -14,7 +18,7 @@ in {
theme = { theme = {
name = "mini-base16"; name = "mini-base16";
enable = true; enable = true;
base16-colors = builtins.fromJSON (builtins.readFile ./everforest.json); base16-colors = colors;
}; };
terminal.toggleterm = { terminal.toggleterm = {
enable = true; enable = true;