use new devenv.sh installation method
parent
7f39d5381a
commit
4735df8dab
|
@ -14,8 +14,8 @@ mkdir -p "$HOME/.config/nix"
|
||||||
if [ ! -f "$HOME/.config/nix/nix.conf" ] ; then
|
if [ ! -f "$HOME/.config/nix/nix.conf" ] ; then
|
||||||
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||||
echo "trusted-users = root andrew" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
|
echo "trusted-users = root andrew" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
|
||||||
nix profile install nixpkgs#cachix
|
|
||||||
cachix use devenv
|
cachix use devenv
|
||||||
|
nix profile install --accept-flake-config github:cachix/devenv/latest
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function has_bin() {
|
function has_bin() {
|
||||||
|
|
Loading…
Reference in New Issue