wip monorepo

This commit is contained in:
EthanShoeDev
2025-12-22 15:37:29 -05:00
parent 27309e1261
commit ac51644bda
69 changed files with 290 additions and 426 deletions

40
vm_test/Vagrantfile vendored Normal file
View File

@@ -0,0 +1,40 @@
Vagrant.configure("2") do |config|
# Default credentials: vagrant / vagrant
config.vm.box = "gusztavvargadr/windows-11"
config.vm.box_version = "2511.0.0"
# Sync the project root to C:/winos-config
config.vm.synced_folder "..", "C:/winos-config"
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = "8192"
vb.cpus = 6
vb.customize ["modifyvm", :id, "--graphicscontroller", "vboxsvga"]
vb.customize ["modifyvm", :id, "--vram", "256"]
end
# Provisioning script to install prerequisites
config.vm.provision "shell", privileged: true, powershell_args: "-ExecutionPolicy Bypass", inline: <<-SHELL
$winget_ids = @(
"Git.Git",
"Oven-sh.Bun",
"Microsoft.DSC",
"Casey.Just",
"junegunn.fzf",
"Microsoft.PowerShell"
)
Write-Host "Forcing time synchronization to prevent certificate errors..."
w32tm /resync /force
Write-Host "Refreshing WinGet source agreements..."
winget source update
foreach ($id in $winget_ids) {
Write-Host "Checking/Installing $id..."
# Use --source winget to avoid disambiguation errors and --force to ensure installation
winget install --id $id --source winget --accept-source-agreements --accept-package-agreements --silent
}
SHELL
end

22
vm_test/justfile Normal file
View File

@@ -0,0 +1,22 @@
set windows-shell := ["pwsh.exe", "-NoLogo", "-NoProfile", "-CommandWithArgs"]
# List commands
default:
@just --list
# Choose a command
choose:
@just --choose
# Up the vagrant box
up:
vagrant up
# Reload the vagrant box and provision it
reload:
vagrant reload --provision
# Destroy the vagrant box (forcefully)
nuke:
vagrant destroy -f