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 f81e397cf7 - Show all commits

View file

@ -125,7 +125,8 @@ ensure_confirmation() {
partition_disk() { partition_disk() {
if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then
sudo nix run github:nix-community/disko/latest -- --mode destroy,format,mount --yes-wipe-all-disks "./hosts/$DOTNIX_HOSTNAME/disko.nix" 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"
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