From e0199c9aae41e66222dfe9c0d46945fb024d640b Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 26 Nov 2023 23:18:35 +0300 Subject: [PATCH] Use tmTheme for bat --- flake.lock | 6 +++--- machines/enka/bat/default.nix | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 394376b..f8b8d72 100644 --- a/flake.lock +++ b/flake.lock @@ -164,11 +164,11 @@ }, "themes": { "locked": { - "lastModified": 1701029691, - "narHash": "sha256-2GTMVcJmqM8tmiohIqTROZNSTDFdpqMk0xOo57hlu6E=", + "lastModified": 1701030543, + "narHash": "sha256-wjGW7Zkzw3L/jBfg7pI7yzO5aVFspwUiZjByXftctlc=", "owner": "RGBCube", "repo": "ThemeNix", - "rev": "050a2401644eb010cdd23043c10f318892733f9f", + "rev": "75f65de9384a0b3698e4cfa537a5f843a604cda6", "type": "github" }, "original": { diff --git a/machines/enka/bat/default.nix b/machines/enka/bat/default.nix index b782df7..7e6e90f 100644 --- a/machines/enka/bat/default.nix +++ b/machines/enka/bat/default.nix @@ -1,4 +1,4 @@ -{ homeConfiguration, enabled, ... }: +{ upkgs, homeConfiguration, enabled, ... }: homeConfiguration [ "nixos" "root" ] { programs.nushell.environmentVariables = { @@ -12,6 +12,7 @@ homeConfiguration [ "nixos" "root" ] { }; programs.bat = enabled { - config.theme = "gruvbox-dark"; + config.theme = "gruvbox-dark-hard"; + themes.gruvbox-dark-hard = upkgs.theme.tmTheme; }; }