From f36491c92269d3e1dd241e67c292af762ac498c3 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 24 Sep 2026 19:16:14 +0530 Subject: refactor: some more minor refactoring --- modules/file-management/yazi/theme.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/file-management/yazi/theme.nix') diff --git a/modules/file-management/yazi/theme.nix b/modules/file-management/yazi/theme.nix index 6589200..f774ff2 100644 --- a/modules/file-management/yazi/theme.nix +++ b/modules/file-management/yazi/theme.nix @@ -6,10 +6,11 @@ ... }: let + cfg = config.file-management.yazi; base16Colors = import ../../colors/base16 { inherit config lib pkgs; }; in { - config = lib.mkIf config.file-management.yazi.enable { + config = lib.mkIf cfg.enable { programs.yazi.theme = with base16Colors.colorsWithHashPrefix; { manager = { cwd = { -- cgit v1.2.3