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 9c73f49fac - Show all commits

View file

@ -127,6 +127,7 @@ 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"
echo "disko done"
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