mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:48:13 +09:00
23 lines
397 B
Nix
23 lines
397 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.features.gui.terminal;
|
|
in
|
|
{
|
|
options.my.features.gui.terminal = {
|
|
enable = lib.mkEnableOption "Terminal emulators (Ghostty, Alacritty)";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
my.applications.ghostty.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
alacritty # A GPU Accelerated Terminal Emulator
|
|
];
|
|
};
|
|
}
|