1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Fix ghostty environment variables

This commit is contained in:
RGBCube 2025-02-09 18:28:32 +03:00
parent a7a0d9296f
commit d5587fb5be
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 6 additions and 7 deletions

View file

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

View file

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