I hereby claim:
- I am patrl on github.
- I am patrl (https://keybase.io/patrl) on keybase.
- I have a public key ASDOGewU9ogOAUQzTXIqQnWj40zZ4xawNSU1TUu2m7U9vgo
To claim this, I am signing this object:
#!/bin/sh | |
exec tail -n +3 $0 | |
# This file provides an easy way to add custom menu entries. Simply type the | |
# menu entries you want to add after this comment. Be careful not to change | |
# the 'exec tail' line above. | |
menuentry "NixOS" { | |
set root=(hd0,gpt3) | |
configfile '/@nixos/boot/grub/grub.cfg' | |
} |
I hereby claim:
To claim this, I am signing this object:
Getting stack to build my Hakyll sites on NixOS turned out to be non-trivial. Include the following files in the project directory.
{config, pkgs, ... }: | |
{ | |
networking.wireguard.interfaces = { | |
wg0 = { | |
ips = [ $ADDR1 ]; | |
peers = [ { | |
allowedIPs = [ $ADDR2 ]; | |
endpoint = $ADDR3; | |
publicKey = $KEY1; |
#! /usr/bin/env nix-shell | |
#! nix-shell -i bash -p bash ghostscript | |
for ARG in "$@" | |
do | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out.pdf $ARG | |
done |
module Juncts where | |
import Data.Function | |
-- the model | |
type T = Bool | |
data Ent = Tom | Dick | Harry deriving (Eq, Show) |
(setq user-mail-address "patrick.d.elliott@gmail.com" | |
user-full-name "Patrick Elliott") | |
(doom! :feature | |
;debugger ; FIXME stepping through code, to help you add bugs | |
eval ; run code, run (also, repls) | |
(evil +everywhere); come to the dark side, we have cookies | |
file-templates ; auto-snippets for empty files | |
;(lookup ; helps you navigate your code and documentation | |
;+devdocs ; ...on devdocs.io online |
;;; config.el -*- lexical-binding: t; -*- | |
(setq user-mail-address "patrick.d.elliott@gmail.com" | |
user-full-name "Patrick Elliott") | |
;; disables immediate spellchecking in a latex buffer | |
(setq-hook! 'LaTeX-mode-hook +spellcheck-immediately nil) | |
(set! :latex-bibtex-file "/home/patrl/GitHub/bibliography/elliott_mybib.bib") | |
(set! :latex-bibtex-pdfs-dir "/home/patrl/Dropbox/Library") |
scuttlebot
source from GitHub.cd
into the source directory and run node2nix
.override.nix
with the following
contents:
{pkgs ? import <nixpkgs> { inherit system; }, system ? builtins.currentSystem}:
# Latest Nightly | |
with import <nixos> {}; | |
let src = fetchFromGitHub { | |
owner = "mozilla"; | |
repo = "nixpkgs-mozilla"; | |
rev = "136eacc0ceefa8fb44677799e5639e083606ee5d"; | |
sha256 = "04bz093x3zjkzp7ba8mh876a1a34kp3jrys87m79gbln5qvcd2ir"; | |
# date = 2018-09-06T17:09:51+02:00; | |
}; | |
in |