Postmortem
Post Mortem of Outage on <DATE>
- Post-Mortem Owner: <Firstname Lastname> <Email>
- Meeting Scheduled For: <DATE>
- Call Recording: <LINK>
- Outage Notes: <LINK>
{ | |
# ... # | |
# 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; |
# 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: |
# 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 |
{ cargo | |
, makeRustPlatform | |
, rustChannelOf | |
, rustc | |
, sources | |
, targetPlatform | |
}: | |
rec { | |
rustNightly = |
git clone \
https://github.com/chriskempson/base16-shell.git \
(setq user-full-name "Tim Dysinger"
user-login-name "tim"
user-mail-address "tim@dysinger.net")
{ ghcVersion ? "ghc865", pkgs ? import ./nix { inherit ghcVersion; } }: | |
with pkgs; | |
haskellPackages.shellFor { | |
packages = ps: with ps; [ | |
# ADD THIS LOCAL PROJECT'S ENVIRONMENT TO OUR SHELL | |
interact | |
]; |
# MOVED HERE https://gist.github.com/dysinger/2a768db5b6e3b729ec898d7d4208add3 |
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; |