Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 1.11 KB

README.md

File metadata and controls

70 lines (45 loc) · 1.11 KB

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.

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"