moar progress
This commit is contained in:
parent
fdd9ec1568
commit
99605585e1
5 changed files with 50 additions and 10 deletions
|
@ -5,7 +5,7 @@
|
|||
disk = {
|
||||
master = {
|
||||
type = "disk";
|
||||
device = ""; # [managed by install.sh] { device }
|
||||
device = "/dev/nvme0n1"; # [managed by install.sh]
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
@ -32,7 +32,7 @@
|
|||
extraArgs = [ "-f" "-L nixos" ];
|
||||
postCreateHook = ''
|
||||
TMP_MNT=$(mktemp -d)
|
||||
MNT_PART="" # [managed by install.sh] { root partition }
|
||||
MNT_PART="/dev/nvme0n1" # [managed by install.sh]
|
||||
mount "$MNT_PART" "$TMP_MNT" -o subvol=/
|
||||
trap 'umount "$TMP_MNT"; rm -rf "$TMP_MNT"' EXIT
|
||||
btrfs subvolume snapshot "$TMP_MNT/root" "$TMP_MNT/blank"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue