From c7366e129f51b24726a804ce974de51fe49a90a0 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Fri, 18 Apr 2025 15:21:08 +0200 Subject: ghostty: init --- hm/silas/default.nix | 1 + hm/sils/default.nix | 1 + modules/hm/sils/default.nix | 1 + modules/hm/sils/ghostty.nix | 15 +++++++++++++++ 4 files changed, 18 insertions(+) create mode 100644 modules/hm/sils/ghostty.nix 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; + }; + }; +} -- cgit 1.4.1