Skip to content

Instantly share code, notes, and snippets.

walkermalling /
Last active Nov 2, 2022
Nix Setup with LUKS encrypted root

Setting up NixOs with LUKS encrypted root

Here are my working notes on getting a system up and running.

WARNING: You can run into a hidden problem that will prevent a correct partition setup and /etc/nixos/configuration.nix from working: if you are setting up a UEFI system, then you need to make sure you boot into the NixOS installation from the UEFI partition of the bootable media. You may have to enter your BIOS boot selection menu to verify this. For example, if you setup a NixOS installer image on a flash drive, your BIOS menu may display several boot options from that flash drive: choose the one explicitly labeled with “UEFI”.


I used these resources:

walkermalling /
Created Jun 2, 2017
Notes on Intro to Functional Programming

FP Study Group

Overview of Functional Programming

What Makes a Language “Functional”

Higher Order Functions


Immutable Data

Referential Transparency

Lazy Evaluation

Control of Side-Effects

View emacs.el
(eval-after-load 'grep
(add-to-list 'grep-files-aliases
'("js" . "*.js *.json"))
(add-to-list 'grep-files-aliases
'("hbs" . "*.hbs"))
(grep-apply-setting 'grep-command "grep -nrH")))

Keybase proof

I hereby claim:

  • I am walkermalling on github.
  • I am redcedar ( on keybase.
  • I have a public key ASCJol_87967TCNmF4CDlQrKo1KEnRM2Ya7G9PVtfHzcUgo

To claim this, I am signing this object:

walkermalling / next-npmls
Created Oct 26, 2016
output of npm ls for next.js deps (because it overruns the scroll limit on my terminal)
View next-npmls
next@1.0.0 /Users/walkermalling/dev/eichs/node_modules/next
├─┬ babel-core@6.17.0
│ ├─┬ babel-code-frame@6.16.0
│ │ ├─┬ chalk@1.1.3
│ │ │ ├── ansi-styles@2.2.1
│ │ │ ├── escape-string-regexp@1.0.5
│ │ │ ├─┬ has-ansi@2.0.0
│ │ │ │ └── ansi-regex@2.0.0
│ │ │ └── supports-color@2.0.0
│ │ ├── esutils@2.0.2
walkermalling / varnish-jsonp.vcl
Created Mar 7, 2016 — forked from simonw/varnish-jsonp.vcl
Get Varnish to handle JSON-P requests for you
View varnish-jsonp.vcl
backend default {
.host = "";
.port = "8000";
# We go BACK to varnish to get it to generate an ESI template that
# generates a JSON-P response.
backend jsonp_template_backend {
.host = "";
.port = "8070";
View api timeout
getPlaces: function(){
var _this = this;
var timeout = 0;
var index = 0;
function loopRequest(){
// create request object
var request = {