1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

Fix ghostty environment variables

This commit is contained in:
RGBCube 2025-02-09 18:28:32 +03:00
parent fb22fa9ac3
commit 0769dde152
2 changed files with 6 additions and 7 deletions

View file

@ -1,12 +1,12 @@
{ config, lib, pkgs, ... }: let { config, lib, pkgs, ... }: let
inherit (lib) enabled mapAttrsToList merge mkIf optionals; inherit (lib) enabled mapAttrsToList merge mkIf optionals;
in merge <| mkIf config.isDesktop { in merge <| mkIf config.isDesktop {
home-manager.sharedModules = [{ environment.variables = {
programs.nushell.environmentVariables = { TERMINAL = mkIf config.isLinux "ghostty";
TERMINAL = mkIf config.isLinux "ghostty"; TERM_PROGRAM = mkIf config.isDarwin "ghostty";
TERM_PROGRAM = mkIf config.isDarwin "ghostty"; };
};
home-manager.sharedModules = [{
programs.ghostty = enabled { programs.ghostty = enabled {
# Don't actually install Ghostty if we are on Darwin. # Don't actually install Ghostty if we are on Darwin.
# For some reason it is marked as broken. # For some reason it is marked as broken.

View file

@ -1,6 +1,5 @@
{ lib, ... }: let { lib, ... }: let
inherit (lib) enabled; inherit (lib) enabled;
in { in {
services.aerospace = enabled { services.aerospace = enabled;
};
} }