Skip to content

Instantly share code, notes, and snippets.

@vandr0iy
vandr0iy / nixos.md
Created March 1, 2022 10:00 — forked from martijnvermaat/nixos.md
Installation of NixOS with encrypted root
@vandr0iy
vandr0iy / encryptedNixos.md
Created January 4, 2021 13:55 — forked from ladinu/encryptedNixos.md
NixOS install with encrypted /boot /root with single password unlock

Requirements

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

Installation media setup

Download NixOS minimal iso and copy to USB stick. For example on Mac OSX

$ diskutil list
$ diskutil unmountDisk /dev/disk1 # Make sure you got right device
@vandr0iy
vandr0iy / ansible_typecheck.yml
Created November 30, 2018 14:48 — forked from spiette/jinja_variables_types.yml
Test the variables types in jinja2 templates, used here with ansible
---
- hosts: all
gather_facts: no
vars:
string: "string"
list:
- item1
- item2
dict:
key1: value1