Skip to content

Commit

Permalink
fix: allow ghostty commands to work
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Oct 21, 2024
1 parent 85951df commit 7189bfc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion home/isabel/system/env.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
lib,
pkgs,
config,
osConfig,
defaults,
...
}:
let
inherit (lib.lists) optional;
in
{
home = {
sessionPath = [
"${config.home.homeDirectory}/.local/bin"
# I relocated this too the fish config, such that it would fix a issue where git would use the wrong version
# "/etc/profiles/per-user/isabel/bin" # needed for darwin
];
] ++ optional pkgs.stdenv.hostPlatform.isDarwin "$GHOSTTY_BIN_DIR";

sessionVariables = {
EDITOR = defaults.editor;
Expand Down

0 comments on commit 7189bfc

Please sign in to comment.