Files
dotfiles-modules/homemanager/terminal_emulators/ghostty.nix
2025-10-14 12:29:46 +02:00

28 lines
561 B
Nix

{
lib,
config,
pkgs,
...
}:
let
configHome = "${config.home.homeDirectory}/.config/dotfiles/homes/quirinecker";
in
{
options = {
modules.terminalEmulators.ghostty.enable = lib.mkEnableOption "ghostty";
};
config = lib.mkIf config.modules.terminalEmulators.ghostty.enable {
home.packages = [
pkgs.ghostty
pkgs.nerd-fonts.profont
pkgs.nerd-fonts.heavy-data
pkgs.meslo-lgs-nf
];
xdg.configFile = {
"ghostty/config".source =
config.lib.file.mkOutOfStoreSymlink ./ghostty/ghostty;
};
};
}