dotfiles/modules/home/gui/apps/emulators/ghostty/default.nix

20 lines
397 B
Nix
Raw Normal View History

2025-01-08 19:06:14 -06:00
{
2025-01-31 01:49:36 -06:00
config,
2025-01-08 19:06:14 -06:00
flake,
pkgs,
...
2025-01-18 03:50:54 -06:00
}:
let
2025-01-08 19:06:14 -06:00
configPath = ./config;
2025-01-31 01:49:36 -06:00
settingsPath = import (configPath + /settings.nix) { inherit flake pkgs; };
themesPath = import (configPath + /themes.nix) { inherit config flake; };
2025-01-18 03:50:54 -06:00
in
{
2025-01-08 19:06:14 -06:00
programs.ghostty = {
enable = true;
2025-01-09 02:09:02 -06:00
package = flake.inputs.ghostty.packages.${pkgs.system}.default;
2025-01-08 19:06:14 -06:00
settings = settingsPath;
themes = themesPath;
};
}