swap in LUKS BTRFS subvol file

This commit is contained in:
Aaron Honeycutt 2023-12-29 17:32:11 +00:00
parent 5efb2d8ee7
commit 451de45b43

View file

@ -14,7 +14,8 @@ read driveName
# Download Disko file # Download Disko file
cd /tmp cd /tmp
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/disko/partitions/simple-efi.nix -o /tmp/disko-config.nix #curl https://gitlab.com/ahoneybun/nix-configs/-/raw/disko/partitions/simple-efi.nix -o /tmp/disko-config.nix
curl https://gitlab.com/ahoneybun/nix-configs/-/raw/disko/partitions/luks-btrfs-subvolumes.nix -o /tmp/disko-config.nix
# Replace drive in Disko file # Replace drive in Disko file
sudo sed -i "s#/dev/sda#$driveName#g" /tmp/disko-config.nix sudo sed -i "s#/dev/sda#$driveName#g" /tmp/disko-config.nix