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
|
||||
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.
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ lib, ... }: let
|
||||
inherit (lib) enabled;
|
||||
in {
|
||||
services.aerospace = enabled {
|
||||
};
|
||||
services.aerospace = enabled;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue