most descript nixos error
This commit is contained in:
parent
9c73f49fac
commit
5f6fd55ada
2 changed files with 1 additions and 3 deletions
|
@ -25,7 +25,6 @@
|
|||
size = "100%";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
mountpoint = "/partition-root";
|
||||
extraArgs = [ "-f" "-L nixos" ];
|
||||
subvolumes = {
|
||||
"/rootfs" = {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Reference in a new issue