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:
| with import <nixpkgs> {}; | |
| let | |
| d = version: "v${lib.concatStringsSep "." (lib.take 2 (lib.splitString "." version))}"; | |
| extraLibs = [ | |
| # IJulia.jl | |
| mbedtls | |
| zeromq3 | |
| # ImageMagick.jl | |
| imagemagickBig | |
| # HDF5.jl |
| #!/bin/bash | |
| # === INFO === | |
| # NoVPN | |
| # Description: Bypass VPN tunnel for applications run through this tool. | |
| VERSION="3.0.0" | |
| # Author: KrisWebDev | |
| # Requirements: Linux with kernel > 2.6.4 (released in 2008). | |
| # This version is tested on Ubuntu 14.04 and 19.10 with bash. | |
| # Main dependencies are automatically installed. |
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:
Create a new repository, or reuse an existing one.
Generate a new SSH key:
ssh-keygen -t rsa -C "[email protected]"
Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).
Test SSH key:
| # You will need latest NVIDIA drivers installed. At the time of writing, version is 331.20. | |
| # On ubuntu 13.10, it looks like this: | |
| sudo add-apt-repository ppa:xorg-edgers/ppa | |
| sudo apt-get update | |
| sudo apt-get install nvidia-331 | |
| # Now we need to install bumblebee: | |
| sudo add-apt-repository ppa:bumblebee/stable | |
| sudo apt-get install bumblebee bumblebee-nvidia bbswitch-dkms |