meta: Prefer home-manager module over env for bat

This works now that stylix switched to using the configuration file
instead of the environment variable.
This commit is contained in:
Donovan Glover 2024-08-24 12:23:32 -04:00
parent aac5e7f999
commit c00ebbd691
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 11 additions and 3 deletions

11
home/bat.nix Normal file
View File

@ -0,0 +1,11 @@
{ lib, ... }:
{
programs.bat = {
enable = true;
config = {
theme = lib.mkForce "base16";
};
};
}

View File

@ -1,8 +1,6 @@
{ pkgs, ... }:
{
programs.bat.enable = true;
editorconfig = {
enable = true;

View File

@ -12,7 +12,6 @@ in
sessionVariables = {
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
NODE_OPTIONS = "--max-old-space-size=16384";
BAT_THEME = "base16";
GATSBY_TELEMETRY_DISABLED = "1";
};