From 771cb636581e6364e232936d39f557ef5d29cc7c Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 22 Sep 2023 18:15:02 +0900 Subject: [PATCH] update install script --- nixos/common/modules/installer.nix | 2 +- nixos/hosts/nixos-vm-02/disks.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/common/modules/installer.nix b/nixos/common/modules/installer.nix index 9e1ba0a7..9e4ffa08 100644 --- a/nixos/common/modules/installer.nix +++ b/nixos/common/modules/installer.nix @@ -59,7 +59,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then --extra-experimental-features "nix-command flakes" \ --no-write-lock-file \ -- \ - --mode zap_create_mount \ + --mode disko \ "nixos/hosts/$TARGET_HOST/disks.nix" sudo nixos-install --no-root-password --flake ".#$TARGET_HOST" diff --git a/nixos/hosts/nixos-vm-02/disks.nix b/nixos/hosts/nixos-vm-02/disks.nix index 7cf0fc8a..06763ed6 100644 --- a/nixos/hosts/nixos-vm-02/disks.nix +++ b/nixos/hosts/nixos-vm-02/disks.nix @@ -33,6 +33,7 @@ content = { type = "filesystem"; format = "ext4"; + mountpoint = "/"; }; # content.content }; # content } # partition 2