aboutsummaryrefslogtreecommitdiffstats
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
parentfirefox: specify searchengine by shorthand (diff)
downloadnix-config-c7366e129f51b24726a804ce974de51fe49a90a0.zip
ghostty: init
-rw-r--r--hm/silas/default.nix1
-rw-r--r--hm/sils/default.nix1
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/ghostty.nix15
4 files changed, 18 insertions, 0 deletions
diff --git a/hm/silas/default.nix b/hm/silas/default.nix
index 89551a8..b6f110e 100644
--- a/hm/silas/default.nix
+++ b/hm/silas/default.nix
@@ -32,6 +32,7 @@
fastfetch.enable = true;
firefox.enable = true;
foot.enable = true;
+ ghostty.enable = true;
git.enable = true;
hyfetch.enable = true;
hyprland.enable = true;
diff --git a/hm/sils/default.nix b/hm/sils/default.nix
index c7343de..64df535 100644
--- a/hm/sils/default.nix
+++ b/hm/sils/default.nix
@@ -32,6 +32,7 @@
fastfetch.enable = true;
firefox.enable = true;
foot.enable = true;
+ ghostty.enable = true;
git.enable = true;
hyfetch.enable = true;
hyprland.enable = true;
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;
+ };
+ };
+}