dotfiles/home/modules/gui/apps/emulators/ghostty/default.nix
2025-01-31 01:49:36 -06:00

19 lines
397 B
Nix
Executable file

{
config,
flake,
pkgs,
...
}:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) { inherit flake pkgs; };
themesPath = import (configPath + /themes.nix) { inherit config flake; };
in
{
programs.ghostty = {
enable = true;
package = flake.inputs.ghostty.packages.${pkgs.system}.default;
settings = settingsPath;
themes = themesPath;
};
}