HASH 5f1ec875803c
DATE 2025-04-17
SUBJECT ghostty: remove package if system is darwin,
FILES 1 CHANGED
HASH 5f1ec875803c
DATE 2025-04-17
SUBJECT ghostty: remove package if system is
darwin,
FILES 1 CHANGED
┌─ modules/home/common/terminal/ghostty.nix ─────────────────────────────────┐
│ diff --git a/modules/home/common/terminal/ghostty.nix b/modules/home/common/termin │
│ al/ghostty.nix │
│ index e381e82..eaa1557 100644 │
│ --- a/modules/home/common/terminal/ghostty.nix │
│ +++ b/modules/home/common/terminal/ghostty.nix │
│ @@ -3,9 +3,11 @@ │
│ hozen, │
│ osConfig, │
│ config, │
│ + pkgs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf mkMerge; │
│ + inherit (pkgs.stdenv) isDarwin; │
│ inherit (hozen) color; │
│ inherit (osConfig.ooknet.host) admin; │
│ inherit (osConfig.ooknet.appearance.fonts) monospace; │
│ @@ -19,6 +21,10 @@ in { │
│ (mkIf (cfg.enable || default.terminal == "ghostty") { │
│ programs.ghostty = { │
│ enable = true; │
│ + package = │
│ + if isDarwin │
│ + then null │
│ + else pkgs.ghostty; │
│ enableFishIntegration = admin.shell == "fish"; │
│ clearDefaultKeybinds = true; │
│ settings = { │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...e/common/terminal/ghostty.nix ───┐
│ diff --git a/modules/home/common/terminal/gh │
│ ostty.nix b/modules/home/common/terminal/gho │
│ stty.nix │
│ index e381e82..eaa1557 100644 │
│ --- a/modules/home/common/terminal/ghostty.n │
│ ix │
│ +++ b/modules/home/common/terminal/ghostty.n │
│ ix │
│ @@ -3,9 +3,11 @@ │
│ hozen, │
│ osConfig, │
│ config, │
│ + pkgs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf mkMerge; │
│ + inherit (pkgs.stdenv) isDarwin; │
│ inherit (hozen) color; │
│ inherit (osConfig.ooknet.host) admin; │
│ inherit (osConfig.ooknet.appearance.fonts │
│ ) monospace; │
│ @@ -19,6 +21,10 @@ in { │
│ (mkIf (cfg.enable || default.terminal = │
│ = "ghostty") { │
│ programs.ghostty = { │
│ enable = true; │
│ + package = │
│ + if isDarwin │
│ + then null │
│ + else pkgs.ghostty; │
│ enableFishIntegration = admin.shell │
│ == "fish"; │
│ clearDefaultKeybinds = true; │
│ settings = { │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET