install.sh: --no-write-lock-file --refresh pour disko-install
This commit is contained in:
@@ -50,7 +50,7 @@ case "$CHOICE" in
|
|||||||
# --- Branche flotte : rien d'autre à saisir -----------------------
|
# --- Branche flotte : rien d'autre à saisir -----------------------
|
||||||
echo
|
echo
|
||||||
echo "Installation du profil générique 'usagers' sur $DEVICE..."
|
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" \
|
--flake "${FLEET_REPO}#usagers" \
|
||||||
--disk main "$DEVICE"
|
--disk main "$DEVICE"
|
||||||
;;
|
;;
|
||||||
@@ -85,7 +85,7 @@ case "$CHOICE" in
|
|||||||
if [[ "$ATTR" == *-luks ]]; then
|
if [[ "$ATTR" == *-luks ]]; then
|
||||||
echo "Disque chiffré : disko va demander une passphrase LUKS pendant le partitionnement."
|
echo "Disque chiffré : disko va demander une passphrase LUKS pendant le partitionnement."
|
||||||
fi
|
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}" \
|
--flake "${AUTHED_URL}#${ATTR}" \
|
||||||
--disk main "$DEVICE"
|
--disk main "$DEVICE"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user