Nix Aura
Requirement
- Nix
- NerdFonts
- I use JetBrians Mono with Ligature
Install
Install "Nix"
sh <(curl -L https://nixos.org/nix/install) --daemon
Add below lines in ~/.config/nix/nix.conf
to enable Nix Flake
experimental-features = nix-command flakes
keep-derivations = true
keep-outputs = true
Enable nix profile
for default environment
nix profile install github:elct9620/nix-aura
Link .bashrc
and .zshrc
ln -s $HOME/.nix-profile/etc/bashrc ~/.bashrc
ln -s $HOME/.nix-profile/etc/zshrc ~/.zshrc
If the
.bashrc
or.zshrc
already exists, you can usesource $HOME/.nix-profile/etc/bashrc
to load it.
Usage
rbenv
The Nix is useful for installing tools but does not provide a good experience for developers.
To manage the Ruby development environment, the rbenv is still a better option for hosting each Ruby version standalone.
Limitation: Nix didn't provide the
pc
file for pkg-config therefore we still need to manual provide dependency for installing ruby WIP: makepc
file available for ruby-build or provide them via Homebrew