Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.39 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.39 KB

Homies

homies

Reproducible set of dotfiles and packages for Linux and macOS


This is the setup I use on all my machines. The installation process is very simple and allows me to get up and running on any new machine in a matter of seconds. The following is run on a pristine Ubuntu machine with curl available:

$ # install from the latest master
$ nix-env -if https://github.com/nmattia/homies/tarball/master --remove-all
$ # make sure that the .bashrc is sourced
$ echo 'if [ -x "$(command -v bashrc)" ]; then $(bashrc); fi' >> ~/.bashrc

The homies will be available in all subsequent shells, including the customizations (vim with my favorite plugins, tmux with my customized configuration, etc). See the introduction blog post for an overview.

How-To

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]