From f7b233c14ff5cddba214f19211d980bc21b5c5c8 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 11 Mar 2022 00:18:19 +0100 Subject: ma gum.r: arise --- makefu/1systems/gum/hetznercloud/doit | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 makefu/1systems/gum/hetznercloud/doit (limited to 'makefu/1systems/gum/hetznercloud/doit') diff --git a/makefu/1systems/gum/hetznercloud/doit b/makefu/1systems/gum/hetznercloud/doit new file mode 100644 index 000000000..45798587a --- /dev/null +++ b/makefu/1systems/gum/hetznercloud/doit @@ -0,0 +1,13 @@ +ROOT_DEVICE=/dev/sda2 +NIXOS_BOOT=/dev/sda1 + +zpool create -o ashift=12 -o altroot=/mnt rpool $ROOT_DEVICE +zfs create -o mountpoint=legacy rpool/root +zfs create -o mountpoint=legacy rpool/home +zfs create -o mountpoint=legacy rpool/nix +mount -t zfs rpool/root /mnt +mkdir /mnt/{home,nix,boot} +mount -t zfs rpool/home /mnt/home +mount -t zfs rpool/nix /mnt/nix +mount $NIXOS_BOOT /mnt/boot/ + -- cgit v1.2.3