Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Dotfiles

Keeping it simple

Setup

0. (Optional) Run the install script

$ ./install

This has the effect of running the commands outlined in the next three steps.

1. Install Nix

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

2. Apply the Home Manager configuration

$ nix-shell --run "home-manager switch"

3. Change shell to Bash

Set the Nix-installed Bash as the one for your user.

$ sudo bash -c "echo $(which bash) >> /etc/shells"
$ chsh -s $(which bash) $(whoami)

You'll need to log out then in again for this to take effect.

Base16 Shell

Set the color scheme.

$ base16_tomorrow

Switching to a new config

$ ./switch

Which has the effect of running the following

$ nix-shell --run "home-manager switch"

Updating the Nixpkgs version

Run the script

$ ./update

Which has the effect of running the following

$ nix-shell --run "niv update nixpkgs-unstable"