aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-10-15 22:30:36 -0400
committerRaghuram Subramani <raghus2247@gmail.com>2025-10-15 22:30:36 -0400
commit9f0325dad7b7401e5d8d1bea636e28f302752c3e (patch)
tree0048142e2e4a046d82970f8bd12eaab720beb0f2
parent0cb7d5176e3c0522d10eb4963e0940f7c7faacdf (diff)
fix windows.sh && use git.compromyse.xyzHEADmain
-rw-r--r--scripts/provision-user.sh2
-rwxr-xr-xwindows.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/provision-user.sh b/scripts/provision-user.sh
index 79d5558..7e8c40b 100644
--- a/scripts/provision-user.sh
+++ b/scripts/provision-user.sh
@@ -14,7 +14,7 @@ nix-channel --update
nix-shell "<home-manager>" -A install
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"
-git clone https://github.com/compromyse/dotfiles $HOME/.config/home-manager/dotfiles
+git clone https://git.compromyse.xyz/me/dotfiles.git $HOME/.config/home-manager/dotfiles
git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm
rm $HOME/.config/home-manager/home.nix
diff --git a/windows.sh b/windows.sh
index ed8bc74..aa33532 100755
--- a/windows.sh
+++ b/windows.sh
@@ -7,11 +7,11 @@ fi
VM_NAME="$1"
-VIRTIO_WIN="isos/virtio-win*.iso"
+VIRTIO_WIN="$(ls isos/virtio-win*.iso)"
WINDOWS="isos/Win11_24H2_English_x64.iso"
if [ ! -f $VIRTIO_WIN ]; then
- pushd imgs
+ pushd isos
aria2c https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
popd
fi
@@ -23,6 +23,7 @@ sudo virt-install --import \
--cpu host-passthrough,cache.mode=passthrough \
--vcpus 12,sockets=1,cores=6,threads=2 \
--cdrom $WINDOWS \
+ --disk path=$VIRTIO_WIN,device=cdrom \
--disk path=imgs/$VM_NAME.img,format=raw,bus=virtio,size="256" \
--video virtio \
--graphics spice \