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
import sys | |
import json | |
from ansible.parsing.dataloader import DataLoader | |
try: | |
from ansible.inventory.manager import InventoryManager | |
A24 = True | |
except ImportError: | |
from ansible.vars import VariableManager |
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 bash | |
# | |
# Installs nixos with full disk encrypted root partition. | |
# | |
# - Prompts for password initially, after that no interaction should | |
# be required. | |
# - At the end it will prompt for a root password, could not make | |
# echo-ing it into nixos-install work. | |
# - Reserves 550MB for boot partition, rest for the root volume. | |
# - After booting, log in as root user and set password for normal user. |