From b2330c7a1daac33f4bd3b5cfc4bff04cd178f159 Mon Sep 17 00:00:00 2001 From: Ulic-youthlic Date: Wed, 8 Jan 2025 15:26:27 +0800 Subject: [PATCH] add ghostty overlay to replace ghostty. --- home/david/configurations/Tytonidae/default.nix | 2 +- overlays/modifications/default.nix | 1 + overlays/modifications/ghostty.nix | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 overlays/modifications/ghostty.nix diff --git a/home/david/configurations/Tytonidae/default.nix b/home/david/configurations/Tytonidae/default.nix index e50b723..4fa4255 100644 --- a/home/david/configurations/Tytonidae/default.nix +++ b/home/david/configurations/Tytonidae/default.nix @@ -61,7 +61,7 @@ qq telegram-desktop taplo - inputs.ghostty.packages."${pkgs.system}".default + ghostty ]; programs.ssh = { enable = true; diff --git a/overlays/modifications/default.nix b/overlays/modifications/default.nix index fbd3953..5a51b49 100644 --- a/overlays/modifications/default.nix +++ b/overlays/modifications/default.nix @@ -6,6 +6,7 @@ let ./helix.nix ./spotify.nix ./niri.nix + ./ghostty.nix ]; overlay-list = map (file: import file args) overlay-files; in diff --git a/overlays/modifications/ghostty.nix b/overlays/modifications/ghostty.nix new file mode 100644 index 0000000..dbc8773 --- /dev/null +++ b/overlays/modifications/ghostty.nix @@ -0,0 +1,9 @@ +{ inputs, ... }: +final: prev: +let + inherit (final) stdenv; + inherit (stdenv.hostPlatform) system; +in +{ + ghostty = inputs.ghostty.packages."${system}".default; +}