Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
git
 
 
nix
 
 
 
 
 
 
vim
 
 
 
 
 
 
 
 
 
 

README.md

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]
You can’t perform that action at this time.