From 5f6fd55ada7d9b0cdff7befdff07f12d3602cb73 Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 16 Jan 2025 19:48:19 +0100 Subject: [PATCH] most descript nixos error --- hosts/vm/disko.nix | 1 - install.sh | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/vm/disko.nix b/hosts/vm/disko.nix index c559077..774c58d 100644 --- a/hosts/vm/disko.nix +++ b/hosts/vm/disko.nix @@ -25,7 +25,6 @@ size = "100%"; content = { type = "btrfs"; - mountpoint = "/partition-root"; extraArgs = [ "-f" "-L nixos" ]; subvolumes = { "/rootfs" = { diff --git a/install.sh b/install.sh index b3427aa..259647a 100755 --- a/install.sh +++ b/install.sh @@ -127,7 +127,6 @@ partition_disk() { if [ "$DOTNIX_CONFIRM_DISK_NUKE" = "yes" ]; then 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" - echo "disko done" else >&2 echo "Aborted installation due to invalid state in the partitioning step." exit 1 @@ -135,7 +134,7 @@ partition_disk() { } generate_config() { - nixos-generate-config --no-filesystems --root /mnt + sudo nixos-generate-config --no-filesystems --root /mnt } main () {