18 lines
347 B
Nix
18 lines
347 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
# Ghostty as the desktop terminal.
|
|
let
|
|
user = config.user.name;
|
|
in
|
|
{
|
|
options.modules.desktop.apps.ghostty.enable = lib.mkEnableOption "Ghostty as the desktop terminal";
|
|
|
|
config = lib.mkIf config.modules.desktop.apps.ghostty.enable {
|
|
home-manager.users.${user}.home.packages = [ pkgs.ghostty ];
|
|
};
|
|
}
|