minor fix on nix-darwin

This commit is contained in:
whoami 2025-09-27 16:54:59 +01:00
parent 8b2899ca97
commit 872a2b4d4d
6 changed files with 7 additions and 7 deletions

View file

@ -19,6 +19,7 @@ set -gx XDG_CACHE_HOME (set -q XDG_CACHE_HOME; and echo $XDG_CACHE_HOME; or echo
if test (uname) = "Darwin"
set -gx XDG_RUNTIME_DIR $HOME/.tmp/run/
fish_add_path /run/current-system/sw/bin
else
set -gx XDG_RUNTIME_DIR /run/user/(id -u)
end

View file

@ -16,6 +16,6 @@
./hosts/macbook/system.nix
];
};
};
}

View file

@ -46,6 +46,7 @@
tlrc
tmux
uv
yazi
zoxide
];

View file

@ -171,3 +171,6 @@ if command -v vcpkg >/dev/null; then
export VCPKG_ROOT="$XDG_DATA_HOME"/vcpkg
fi
if [ -d "/nix" ]; then
export PATH="/run/current-system/sw/bin:$PATH"
fi