chore: switch to gruvbox

This commit is contained in:
Bloxx12 2025-05-09 11:36:41 +02:00
commit 94819e9c74
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
3 changed files with 12 additions and 4 deletions

View file

@ -0,0 +1,4 @@
{
inherits = "gruvbox";
"ui.background" = {};
}

View file

@ -39,8 +39,12 @@
inherit (lib.meta) getExe;
toml = formats.toml {};
helix-languages = callPackage ./languages.nix {inherit lib;};
colorscheme = toml.generate "colorscheme.toml" (import ./colorscheme.nix);
helix-config = {
theme = "catppuccin_mocha";
theme = "theme_transparent";
editor = {
cursorline = false;
color-modes = true;
@ -107,7 +111,6 @@
};
};
};
helix-languages = callPackage ./languages.nix {inherit lib;};
wrapped-helix = symlinkJoin {
name = "helix-wrapped";
paths = [
@ -140,9 +143,10 @@
];
nativeBuildInputs = [makeWrapper];
postBuild = ''
mkdir -p $out/config/helix
mkdir -p $out/config/helix/themes
cp "${toml.generate "config.toml" helix-config}" $out/config/helix/config.toml
cp "${helix-languages}" $out/config/helix/languages.toml
cp "${colorscheme}" $out/config/helix/themes/theme_transparent.toml
wrapProgram $out/bin/hx --set \
XDG_CONFIG_HOME $out/config
'';