add ghostty

This commit is contained in:
Chris Kruining 2025-03-04 23:47:10 +01:00
parent 1362d6d3c6
commit c408aea5b8
3 changed files with 38 additions and 3 deletions

View file

@ -0,0 +1,34 @@
{
config,
options,
lib,
pkgs,
...
}: let
inherit (builtins) toString;
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf mkMerge;
in {
options.modules.desktop.terminal.ghostty = let
inherit (lib.options) mkEnableOption;
in { enable = mkEnableOption "ghostty"; };
config = mkIf config.modules.desktop.terminal.ghostty.enable {
environment.systemPackages = [
pkgs.ghostty
];
modules.shell.toolset.tmux.enable = true;
hm.programs.ghostty = {
enable = true;
settings = {
background-blur-radius = 20;
theme = "dark:everforest,light:everforest";
window-theme = "dark";
background-opacity = 0.8;
minimum-contrast = 1.1;
};
};
};
}