We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ecd0a6 + bdd41de commit 3d4d3d7Copy full SHA for 3d4d3d7
modules/home-manager/yazi.nix
@@ -0,0 +1,13 @@
1
+{ inputs, config, lib, ... }:
2
+let cfg = config.programs.yazi.tokyonight;
3
+in {
4
+ options.programs.yazi.tokyonight = lib.tn.mkTokyonightOpt "tokyonight yazi";
5
+ config = lib.mkMerge [
6
+ (lib.mkIf cfg.enable {
7
+ programs.yazi = {
8
+ theme = lib.importTOML
9
+ "${inputs.tokyonight}/extras/yazi/tokyonight_${cfg.style}.toml";
10
+ };
11
+ })
12
+ ];
13
+}
0 commit comments