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:
parent
fb22fa9ac3
commit
0769dde152
2 changed files with 6 additions and 7 deletions
|
@ -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.
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, ... }: let
|
{ lib, ... }: let
|
||||||
inherit (lib) enabled;
|
inherit (lib) enabled;
|
||||||
in {
|
in {
|
||||||
services.aerospace = enabled {
|
services.aerospace = enabled;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue