install.sh: --no-write-lock-file --refresh pour disko-install

This commit is contained in:
2026-09-09 10:37:45 +02:00
parent 3344afa565
commit 1f297e5684
+2 -2
View File
@@ -50,7 +50,7 @@ case "$CHOICE" in
# --- Branche flotte : rien d'autre à saisir -----------------------
echo
echo "Installation du profil générique 'usagers' sur $DEVICE..."
nix run 'github:nix-community/disko#disko-install' -- --write-efi-boot-entries \
nix run --no-write-lock-file --refresh 'github:nix-community/disko#disko-install' -- --write-efi-boot-entries \
--flake "${FLEET_REPO}#usagers" \
--disk main "$DEVICE"
;;
@@ -85,7 +85,7 @@ case "$CHOICE" in
if [[ "$ATTR" == *-luks ]]; then
echo "Disque chiffré : disko va demander une passphrase LUKS pendant le partitionnement."
fi
nix run 'github:nix-community/disko#disko-install' -- --write-efi-boot-entries \
nix run --no-write-lock-file --refresh 'github:nix-community/disko#disko-install' -- --write-efi-boot-entries \
--flake "${AUTHED_URL}#${ATTR}" \
--disk main "$DEVICE"