File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ echo "==> Writing disk id into $DISKO_FILE"
6767sed -i " s#/dev/disk/by-id/CHANGE_ME#${DISK_ID} #" " $DISKO_FILE "
6868
6969echo " ==> Probing hardware with nixos-facter (writes $FACTER_FILE )"
70- nix run github:nix-community/nixos-facter -- -o " $FACTER_FILE "
70+ nix run --extra-experimental-features " nix-command flakes " github:nix-community/nixos-facter -- -o " $FACTER_FILE "
7171
7272echo " ==> Partitioning and formatting with disko"
73- nix run github:nix-community/disko/latest -- \
73+ nix run --extra-experimental-features " nix-command flakes " github:nix-community/disko/latest -- \
7474 --mode disko \
7575 --flake " $REPO_DIR #$HOST "
7676
@@ -84,7 +84,7 @@ cat <<EOF
8484
8585==> Manual follow-up (cannot be scripted from the live ISO):
8686 1. On fonseca, get its host age key:
87- nix run nixpkgs#ssh-to-age -- -i /etc/ssh/ssh_host_ed25519_key.pub
87+ nix run --extra-experimental-features "nix-command flakes" nixpkgs#ssh-to-age -- -i /etc/ssh/ssh_host_ed25519_key.pub
8888 2. Add it to .sops.yaml (repo root) as a new "&fonseca" anchor, both
8989 under 'keys:' and in 'creation_rules[0].key_groups[0].age'.
9090 3. From a machine that can already decrypt secrets, run:
You can’t perform that action at this time.
0 commit comments