impermanence-talk/template
2024-04-07 19:34:18 +02:00
..
libs initial commit 2024-04-07 19:34:18 +02:00
system initial commit 2024-04-07 19:34:18 +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.nix initial commit 2024-04-07 19:34:18 +02:00
README.md initial commit 2024-04-07 19:34:18 +02:00

Impermanence Example

Disk Partitioning

nix develop .#first-install --extra-experimental-features "nix-command flakes"
sudo disko --mode disko ./systems/desktop/<system>/disko.nix

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 --root /mnt

Integrate into existing config.

Install from Flake

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