mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-17 10:11:01 +01:00
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:
parent
aac5e7f999
commit
c00ebbd691
11
home/bat.nix
Normal file
11
home/bat.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.bat = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
theme = lib.mkForce "base16";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -1,8 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.bat.enable = true;
|
|
||||||
|
|
||||||
editorconfig = {
|
editorconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@ in
|
|||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
|
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
|
||||||
NODE_OPTIONS = "--max-old-space-size=16384";
|
NODE_OPTIONS = "--max-old-space-size=16384";
|
||||||
BAT_THEME = "base16";
|
|
||||||
GATSBY_TELEMETRY_DISABLED = "1";
|
GATSBY_TELEMETRY_DISABLED = "1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user