Skip to content

Instantly share code, notes, and snippets.

@ftrojahn
ftrojahn / encryptedNixos.md
Last active December 21, 2020 15:12 — forked from whoizit/encryptedNixos.md
NixOS install with encrypted /boot /root with single password unlock

Requirements

  1. Encrypt everthing including /boot and /root
  2. Enter password once

Installation media setup

Download unstable NixOS graphical live iso (cause vim on graphical live iso and easier to read this guide in browser) and write to USB stick.

lsblk
umount /dev/sdX1
dd if=path/to/nixos-graphical-unstable-x86_64-linux.iso of=/dev/sdX bs=10M oflag=direct status=progress
@ftrojahn
ftrojahn / convert.py
Last active September 7, 2020 16:24 — forked from vale981/convert.py
Google contacts to Grandstream GXP phonebook converter
#!/usr/bin/env python3
import csv
import re
import unicodedata
import sys
from xml.dom.minidom import getDOMImplementation
import copy
contacts = []
@ftrojahn
ftrojahn / Dockerfile.debian10
Last active September 7, 2020 20:59 — forked from raoulbhatia/Dockerfile.debian10
BackupPC Debian 10 Buster Dockerfile (rsync-bpc version fixed, libbackuppc-xs-perl 0.62-1 from debian/sid)
FROM debian:buster
LABEL maintainer="[email protected]"
#######################################
RUN apt -y update && apt -y install \
sudo \
wget \
git \
@ftrojahn
ftrojahn / 00-automatic-ddev-setup-for-TYPO3-with-launchstart-distribution.md
Last active September 26, 2020 06:55
Automatic TYPO3 composer ddev setup with introduction package, start or startgreen distribution

Setup local ddev environment for TYPO3

  • script checks, if docker, docker-compose and ddev are installed, if not shows link to documentation

Disclaimer

Although these scripts have been tested, they may and will delete files on your local disk and/or your docker container. Use at your own risk!

Launch a distribution