- Post-Mortem Owner: <Firstname Lastname> <Email>
- Meeting Scheduled For: <DATE>
- Call Recording: <LINK>
- Outage Notes: <LINK>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
privateZeroTierInterfaces = [ "ztbso1b6n3" ]; # ZT NET INTERFACE | |
in { | |
system.stateVersion = "19.03"; | |
services.openssh.enable = true; | |
services.openssh.openFirewall = false; # SSH ONLY ON VPN | |
services.openssh.passwordAuthentication = false; | |
networking.firewall.enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MOVED HERE https://gist.github.com/dysinger/2a768db5b6e3b729ec898d7d4208add3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic Full-Disk Encrypted ZFS Thinkpad (w/ 512 sector SSD) booted from USB key | |
# EFI/BOOT: | |
# export BOOT=/dev/disk/by-id/usb-SanDisk_Ultra_Fit_4C530001011030101042-0\:0 | |
# parted --script $BOOT -- \ | |
# mklabel gpt \ | |
# mkpart esp fat32 1MiB 512MiB \ | |
# mkpart primary 512MiB 100% \ | |
# set 1 boot on | |
# mkfs.vfat -n BOOT $BOOT-part1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# ... # | |
# https://nixos.org/manual/nixos/unstable/options.html#opt-services.avahi.enable | |
services.avahi.enable = lib.mkForce false; # USE SYSTEMD-RESOLVED | |
services.resolved = { | |
# https://nixos.org/manual/nixos/unstable/options.html#opt-services.resolved.enable | |
enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# on ubuntu: need some utils & dev libs | |
sudo apt-get install apache2-utils openssl libssl-dev libpcre3-dev | |
# compile nginx | |
cd /tmp | |
curl http://nginx.org/download/nginx-0.7.64.tar.gz | tar xz | |
cd nginx* | |
./configure --with-http_ssl_module --with-http_dav_module \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
> -- stack --resolver lts-6 --install-ghc runghc --package classy-prelude --package lens --package wreq | |
Blah Blah words about this single file executable README goes here. | |
> {-# LANGUAGE DeriveAnyClass #-} | |
> {-# LANGUAGE DeriveGeneric #-} | |
> {-# LANGUAGE NoImplicitPrelude #-} | |
> {-# LANGUAGE OverloadedStrings #-} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EFI/BOOT: | |
# export BOOT=/dev/disk/by-id/usb-SanDisk_Ultra_Fit_4C530001011030101042-0\:0 | |
# parted --script $BOOT -- \ | |
# mklabel gpt \ | |
# mkpart esp fat32 1MiB 512MiB \ | |
# mkpart primary 512MiB 100% \ | |
# set 1 boot on | |
# mkfs.vfat $BOOT-part1 | |
# ZFS: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 1. place this in ~/.emacs.d/private/intero/packages.el | |
;; 2. add intero, syntax-checking and auto-completion to your | |
;; ~/.spacemacs layer configuration & remove the haskell layer | |
;; if you were using that before | |
;; 3. make sure you have stack installed http://haskellstack.org | |
;; 4. fire up emacs & open up a stack project's source files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
require = [ <nixos/modules/installer/scan/not-detected.nix> ]; | |
boot = { | |
initrd = { | |
kernelModules = [ "ata_piix" "ahci" ]; | |
luks.devices = [{ name = "luks"; device = "/dev/sda2"; preLVM = true; }]; | |
}; | |
loader.grub.device = "/dev/sda"; | |
}; |
NewerOlder