diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-18 23:26:17 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-18 23:26:17 +0530 |
| commit | 6b0161b2639bb49e270754e90f4f8a47311c5198 (patch) | |
| tree | fc0f4a138b311061daad5ddeb6ed50314f1f5a1a /modules/terminal/bat | |
| parent | 53eac37422f77750adbc801f71b85ab04cf2b7f9 (diff) | |
| download | home-manager-config-6b0161b2639bb49e270754e90f4f8a47311c5198.tar.gz home-manager-config-6b0161b2639bb49e270754e90f4f8a47311c5198.zip | |
chore: projectwide refactoring
- Using more consistent naming conventions across the project. Using java style super
descriptive variable names.
- Removed slop comments in favor of using more descriptive naming conventions.
Diffstat (limited to 'modules/terminal/bat')
| -rw-r--r-- | modules/terminal/bat/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/terminal/bat/default.nix b/modules/terminal/bat/default.nix index 8e089ce..69045bc 100644 --- a/modules/terminal/bat/default.nix +++ b/modules/terminal/bat/default.nix @@ -5,6 +5,9 @@ pkgs, ... }: +let + base16Colors = import ../../colors/base16 { inherit config lib pkgs; }; +in { options.terminal.bat = { enable = lib.mkEnableOption "Enables bat."; @@ -26,7 +29,7 @@ base16 = { src = pkgs.runCommand "bat-base16-theme" { } '' mkdir -p $out - cp ${config.scheme { template = ./base16.tmTheme; }} $out/base16.tmTheme + cp ${base16Colors { templateFileOrContent = ./base16.tmTheme; }} $out/base16.tmTheme ''; file = "base16.tmTheme"; }; |
