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.
1 parent 3d4d3d7 commit 4ec430cCopy full SHA for 4ec430c
modules/home-manager/ghostty.nix
@@ -0,0 +1,10 @@
1
+{ config, lib, ... }:
2
+let cfg = config.programs.ghostty.tokyonight;
3
+in {
4
+ options.programs.ghostty.tokyonight = lib.tn.mkTokyonightOpt "tokyonight ghostty";
5
+ config = lib.mkMerge [
6
+ (lib.mkIf cfg.enable {
7
+ programs.ghostty.settings.theme = "tokyonight_${cfg.style}";
8
+ })
9
+ ];
10
+}
0 commit comments