Reproducible set of dotfiles and packages for Linux and macOS.
Greatly inspired by the the original Homies.
Install directly on a Ubuntu machine with curl
and sudo
available:
sh <(curl https://nixos.org/nix/install) --no-daemon
source ~/.nix-profile/etc/profile.d/nix.sh
nix-env -if https://github.com/timaa2k/homies/tarball/master --remove-all
echo 'if [ -x "$(command -v bashrc)" ]; then $(bashrc); fi' >> ~/.bashrc
Trying out the package set:
$ nix-shell --pure
Installing the package set:
$ nix-env -f default.nix -i --remove-all
Listing the currently installed packages:
$ nix-env -q
Listing the previous and current configurations:
$ nix-env --list-generations
Rolling back to the previous configuration:
$ nix-env --rollback
Deleting old configurations:
$ nix-env --delete-generations [3 4 9 | old | 30d]