Skip to content

Commit b0c93bc

Browse files
committed
add experimental features flags
1 parent 6ecc3d6 commit b0c93bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ echo "==> Writing disk id into $DISKO_FILE"
6767
sed -i "s#/dev/disk/by-id/CHANGE_ME#${DISK_ID}#" "$DISKO_FILE"
6868

6969
echo "==> 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

7272
echo "==> 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:

0 commit comments

Comments
 (0)