mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
minor fix on nix-darwin
This commit is contained in:
parent
8b2899ca97
commit
872a2b4d4d
6 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@
|
|||
./hosts/macbook/system.nix
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
tlrc
|
||||
tmux
|
||||
uv
|
||||
yazi
|
||||
zoxide
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue