dotfiles/nix/setup.sh
Anthony Cicchetti 366ad323f2 add 1pass
2023-11-29 15:22:33 -05:00

14 lines
288 B
Bash
Executable file

#!/bin/bash
if [[ ! -x $(command -v nix) ]]; then
echo "make sure to install nix"
exit 1
fi
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install
nix flake update
./update.sh -a