I am the Eschaton; I am not your God.
I am descended from you, and exist in your future.
Thou shalt not violate causality within my historic light cone. Or else.
Singularity Sky by Charles Stross
I hereby claim:
To claim this, I am signing this object:
Verifying that +byrongibson is my openname (Bitcoin username). https://onename.com/byrongibson
Verifying that +bgibson is my openname (Bitcoin username). https://onename.com/bgibson
| # First run: | |
| apt-get install apt-cacher python-vm-builder | |
| vi /etc/default/apt-cacher # ensure autostart is enabled | |
| sudo service apt-cacher start | |
| git clone git://github.com/bitcoin/bitcoin.git | |
| git clone git://github.com/devrandom/gitian-builder.git | |
| mkdir gitian-builder/inputs | |
| wget 'http://miniupnp.tuxfamily.org/files/download.php?file=miniupnpc-1.5.tar.gz' -O gitian-builder/inputs/miniupnpc-1.5.tar.gz | |
| wget 'http://downloads.sourceforge.net/project/wxwindows/2.9.1/wxWidgets-2.9.1.tar.bz2' -O gitian-builder/inputs/wxWidgets-2.9.1.tar.bz2 |
| #!/usr/bin/env bash | |
| # | |
| # NixOS install script synthesized from: | |
| # | |
| # - Erase Your Darlings (https://grahamc.com/blog/erase-your-darlings) | |
| # - ZFS Datasets for NixOS (https://grahamc.com/blog/nixos-on-zfs) | |
| # - NixOS Manual (https://nixos.org/nixos/manual/) | |
| # | |
| # It expects the name of the block device (e.g. 'sda') to partition |
| # Edit this configuration file to define what should be installed on | |
| # your system. Help is available in the configuration.nix(5) man page | |
| # and in the NixOS manual (accessible by running ‘nixos-help’). | |
| { config, pkgs, ... }: | |
| { | |
| ################################################################################ | |
| # System |
| #!/usr/bin/env bash | |
| # This script expects a 1TB drive, and formats it with two partitions, a UEFI | |
| # boot partition and ZFS pool partition. | |
| # This script assumes disk is wiped and formatted using the script | |
| # setup-01-wipe-disk.sh | |
| # | |
| # script expects one argument - the id of the disk to be formatted: | |
| # | |
| # $ sudo sh setup-02-uefi-zfs-partitions.sh /dev/disk/by-id/wwn-0x5001b448b94488f8 |
| #!/usr/bin/env bash | |
| # NixOS install with encrypted root and swap | |
| # | |
| # sda | |
| # ├─sda1 BOOT | |
| # └─sda2 LINUX (LUKS CONTAINER) | |
| # └─cryptroot LUKS MAPPER | |
| # └─cryptroot1 SWAP | |
| # └─cryptroot2 ZFS |
After some effort (and asking for help on the nix-dev mailing list) I installed ZFS on an encrypted partition. The relevant configuration is below.