- Post-Mortem Owner: <Firstname Lastname> <Email>
- Meeting Scheduled For: <DATE>
- Call Recording: <LINK>
- Outage Notes: <LINK>
This file contains hidden or 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
| { | |
| description = "NixOS configuration with real-time kernel, Sonic Pi, and SuperCollider"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| musnix.url = "github:musnix/musnix"; | |
| }; | |
| outputs = { self, nixpkgs, musnix, ... }@inputs: { | |
| nixosConfigurations.example-config = nixpkgs.lib.nixosSystem { |
This file contains hidden or 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
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
| "Mappings": { | |
| "RegionMap": { | |
| "ap-northeast-1": { | |
| "AMI": "ami-f9b08ff8" | |
| }, | |
| "ap-southeast-1": { | |
| "AMI": "ami-c24f6c90" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 #-} |
NewerOlder