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

28 lines
462 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-03-21 18:29:14 -05:00
osConfig,
2025-01-08 19:06:14 -06:00
...
2025-01-18 03:50:54 -06:00
}:
let
2025-01-08 19:06:14 -06:00
configPath = ./config;
2025-03-21 18:29:14 -05:00
settingsPath = import (configPath + /settings.nix) {
inherit
flake
config
osConfig
pkgs
;
};
2025-01-31 01:49:36 -06:00
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;
};
}