summary refs log tree commit diff stats
path: root/modules/hm
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-04-18 15:21:08 +0200
committerSilas Schöffel <sils@sils.li>2025-04-18 15:21:08 +0200
commitc7366e129f51b24726a804ce974de51fe49a90a0 (patch)
tree98e380d56c6b35afe31a524e7d2fac7fefd6f4e6 /modules/hm
parentfirefox: specify searchengine by shorthand (diff)
downloadnix-config-c7366e129f51b24726a804ce974de51fe49a90a0.zip
ghostty: init
Diffstat (limited to '')
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/ghostty.nix15
2 files changed, 16 insertions, 0 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index 46e0794..1446d02 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -7,6 +7,7 @@
     ./fastfetch.nix
     ./firefox
     ./foot.nix
+    ./ghostty.nix
     ./git.nix
     ./hyfetch.nix
     ./hyprland.nix
diff --git a/modules/hm/sils/ghostty.nix b/modules/hm/sils/ghostty.nix
new file mode 100644
index 0000000..cd871bc
--- /dev/null
+++ b/modules/hm/sils/ghostty.nix
@@ -0,0 +1,15 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.sils.ghostty;
+in {
+  options.sils.ghostty.enable = lib.mkEnableOption "the ghostty terminal emulator";
+  config = lib.mkIf cfg.enable {
+    programs.ghostty = {
+      enable = true;
+      enableZshIntegration = true;
+    };
+  };
+}