diff --git a/installer/install.sh b/installer/install.sh index 44d51cf..ed89467 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -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"