These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
0429da6e50fd76a3d9a710f49b8772958a71c11f8364d586109467afe9c2f4bd76487843af4081726ef4f77a7ecd3226c9904d870cddafdbc6d3050053d5bf1735;kaysarraute |
{ fetchFromGitHub }: | |
let | |
electrum3Fixed = nixos-17-03.callPackage electrum3 {}; | |
nixos-17-03 = import (fetchNixPkgs { | |
rev = "d77e0969a783fca9905fc35defb82c6a3c03bf3a"; | |
sha256 = "1nj1as55pf8p8x9xr8nbc8px9qjkqgv5s5afgdbpcqph09820jxz"; | |
}) {}; | |
electrum3 = |
#!/usr/bin/env bash | |
outputPaths=$(nix-build --no-out-link - <<'EOF' | |
let | |
pkgs = (import <nixpkgs> {}); | |
# The book source | |
src = let | |
second-edition = fetchBook { | |
rev = "6354bb99d3834303693658890426a7ec6d4c104e"; |
class DiConfig { | |
public: | |
template <class InstanceType, class Deleter, class ...Deps> | |
void add(InstanceFactoryFunction<InstanceType, Deleter, Deps...> instance_factory); | |
Injector build_injector(); | |
private: | |
using InitializerFn = std::function<void(Injector&)>; |
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri |
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri |
# -*- mode: ruby -*- | |
$build_nokogiri = <<SCRIPT | |
apt-get update | |
apt-get -y install docker.io | |
apt-get -y install bundler | |
gem install rake-compiler-dock | |
cd | |
git clone https://github.com/larskanis/nokogiri |
_4100_characters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