Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 576 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 576 Bytes

Installation

  1. Get machine all partitioned up ready to go with a nixos livecd
  2. Create /etc/nixos/configuration.nix with contents where machineName is the name of the machine (errorbook is the only one this repo knows about)
let thunk = builtins.fromJSON (builtins.readFile /etc/nixos/thunk.json);
in (import (builtins.fetchGit {
  inherit (thunk) url rev;
})) "{{machineName}}"
  1. Run the contents of (update.sh)[./update.sh] to create a current thunk.json
  2. Proceed with nixos installation, or do a nixos-rebuild switch if the machine is already installed