impermanence-talk/template
2024-04-13 21:26:15 +02:00
..
custom fixed typo 2024-04-13 21:26:15 +02:00
libs working 2024-04-08 22:09:31 +02:00
system updated 2024-04-09 13:27:55 +02:00
.envrc initial commit 2024-04-07 19:34:18 +02:00
.gitignore initial commit 2024-04-07 19:34:18 +02:00
flake.lock updated 2024-04-07 20:19:32 +02:00
flake.nix updated 2024-04-09 13:27:55 +02:00
README.md updated 2024-04-07 21:03:57 +02:00

Impermanence Example

Disk Partitioning

nix flake new nixos --template git+https://git.krsnik.at/Kristian/impermanence-talk --extra-experimental-features "nix-command flakes"
cd nixos
nix develop --extra-experimental-features "nix-command flakes"
sudo disko --mode disko ./systems/disko.nix

cd ..
mv nixos /persist
cd /persist/nixos

While formatting you will be asked for a password which is used for disk encryption with LUKS. Make sure you have the correct keyboard layout set.

[Optional] Generate Hardware Configuration (for new Systems)

sudo nixos-generate-config --no-filesystems --force --root /mnt ./system

Install from Flake

sudo nixos-install --no-root-password --root /mnt --flake .#