mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
feat(console): add Cask
This commit is contained in:
parent
6fa7b9334c
commit
32b2794b76
2 changed files with 20 additions and 7 deletions
20
.profile
20
.profile
|
|
@ -37,28 +37,34 @@ export GUIX_PACKAGE_PATH=~/guix-packages
|
||||||
# Guix settings:3 ends here
|
# Guix settings:3 ends here
|
||||||
|
|
||||||
# [[file:Console.org::*Other package managers][Other package managers:1]]
|
# [[file:Console.org::*Other package managers][Other package managers:1]]
|
||||||
if [ -d "$HOME/.local/share/flatpak" ]; then
|
if [ -d "$HOME/.cask" ]; then
|
||||||
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"
|
export PATH="/home/pavel/.cask/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
# Other package managers:1 ends here
|
# Other package managers:1 ends here
|
||||||
|
|
||||||
# [[file:Console.org::*Other package managers][Other package managers:2]]
|
# [[file:Console.org::*Other package managers][Other package managers:2]]
|
||||||
if [ -f /run/current-system/profile/etc/profile.d/nix.sh ]; then
|
if [ -d "$HOME/.local/share/flatpak" ]; then
|
||||||
. /run/current-system/profile/etc/profile.d/nix.sh
|
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"
|
||||||
fi
|
fi
|
||||||
# Other package managers:2 ends here
|
# Other package managers:2 ends here
|
||||||
|
|
||||||
# [[file:Console.org::*Other package managers][Other package managers:3]]
|
# [[file:Console.org::*Other package managers][Other package managers:3]]
|
||||||
if [ -d "$HOME/.guix-extra-profiles/desktop" ]; then
|
if [ -f /run/current-system/profile/etc/profile.d/nix.sh ]; then
|
||||||
export FONTCONFIG_PATH="$HOME/.guix-extra-profiles/desktop/desktop/etc/fonts"
|
. /run/current-system/profile/etc/profile.d/nix.sh
|
||||||
fi
|
fi
|
||||||
# Other package managers:3 ends here
|
# Other package managers:3 ends here
|
||||||
|
|
||||||
# [[file:Console.org::*Other package managers][Other package managers:4]]
|
# [[file:Console.org::*Other package managers][Other package managers:4]]
|
||||||
|
if [ -d "$HOME/.guix-extra-profiles/desktop" ]; then
|
||||||
|
export FONTCONFIG_PATH="$HOME/.guix-extra-profiles/desktop/desktop/etc/fonts"
|
||||||
|
fi
|
||||||
|
# Other package managers:4 ends here
|
||||||
|
|
||||||
|
# [[file:Console.org::*Other package managers][Other package managers:5]]
|
||||||
if [ -d "$HOME/.nix-profile" ]; then
|
if [ -d "$HOME/.nix-profile" ]; then
|
||||||
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.nix-profile/share/applications"
|
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.nix-profile/share/applications"
|
||||||
fi
|
fi
|
||||||
# Other package managers:4 ends here
|
# Other package managers:5 ends here
|
||||||
|
|
||||||
# [[file:Console.org::*npm][npm:2]]
|
# [[file:Console.org::*npm][npm:2]]
|
||||||
export NPM_CONFIG_USERCONFIG=$HOME/._npmrc
|
export NPM_CONFIG_USERCONFIG=$HOME/._npmrc
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,13 @@ export GUIX_PACKAGE_PATH=~/guix-packages
|
||||||
** Other package managers
|
** Other package managers
|
||||||
Using other package managers with Guix requires some extra work.
|
Using other package managers with Guix requires some extra work.
|
||||||
|
|
||||||
|
Cask
|
||||||
|
#+begin_src sh
|
||||||
|
if [ -d "$HOME/.cask" ]; then
|
||||||
|
export PATH="/home/pavel/.cask/bin:$PATH"
|
||||||
|
fi
|
||||||
|
#+end_src
|
||||||
|
|
||||||
Make flatpak apps visible to launchers:
|
Make flatpak apps visible to launchers:
|
||||||
#+begin_src sh
|
#+begin_src sh
|
||||||
if [ -d "$HOME/.local/share/flatpak" ]; then
|
if [ -d "$HOME/.local/share/flatpak" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue