Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
Showing only changes of commit c7006c6be0 - Show all commits

View file

@ -125,8 +125,7 @@ ensure_confirmation() {
partition_disk() { partition_disk() {
if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then
sudo nix --experimental-features 'flakes nix-command' run --github:nix-community/disko/latest \ sudo nix --experimental-features 'flakes nix-command' run --github:nix-community/disko/latest -- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix"
-- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix"
else else
>&2 echo "Aborted installation due to invalid state in the partitioning step." >&2 echo "Aborted installation due to invalid state in the partitioning step."
exit 1 exit 1