Add ghostty terminal with n

This commit is contained in:
Alexander
2025-08-03 22:10:24 +02:00
parent 58dcc17440
commit 3608ae4fc3
3 changed files with 34 additions and 1 deletions
+1
View File
@@ -3,5 +3,6 @@
{
imports = [
./alacritty
./ghostty
];
}
+26
View File
@@ -0,0 +1,26 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.terminal.ghostty;
in {
options.dov.terminal.ghostty = {
enable = mkEnableOption "ghostty config";
shell = mkOption {
type = types.str;
default = "${pkgs.zsh}/bin/zsh";
};
};
config = mkIf cfg.enable {
programs.ghostty = {
enable = true;
installVimSyntax = true;
enableZshIntegration = config.dov.shell.zsh.enable;
settings = {
command = "${cfg.shell}";
};
};
};
}
+7 -1
View File
@@ -37,7 +37,13 @@
kanshi.enable = true;
terminal.alacritty.enable = true;
terminal = {
alacritty.enable = true;
ghostty = {
enable = true;
shell = "${pkgs.nushell}/bin/nu";
};
};
};
programs = {