/dotfiles

Primary LanguageShell

Note

These dotfiles are no longer maintained. Current configuration is done in stackptr/rc

dotfiles

Bootstrapping

Packages are declared and installed using Nix. Install it:

sh <(curl -L https://nixos.org/nix/install)

Install rcm after opening a new shell session:

nix-env -iA rcm

Clone this repo and install dotfiles:

cd ~
git clone https://github.com/stackptr/dotfiles.git .dotfiles
rcup -d .dotfiles -v

Updating

The revision of nixpkgs is defined in ~/.nix-defexpr/nixpkgs/default.nix and is updated by running nix-update-nixpkgs.

Install packages in env.nix at the current revision, removing any packages not present:

nix-env -irf ~/env.nix

Configuration

Git

Set the sequence editor used for rebases, cherry picks, etc.:

git config --global sequence.editor interactive-rebase-tool

Terminal profile

A modified version of terminal-snazzy is checked in and can be added via Terminal.app Preferences > Profiles. Make to mark as Default to apply to newly spawned windows.

Tips

Acknowledgements