Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

topgrade/win32.toml

Raw
[misc]

# FIXME: sudo ist noch nicht erlaubt bei der isp.
# das sollte entfernt werden, da es nicht funktioniert, wenn ein system frisch ist.
# pre_sudo = true
# sudo_command = "gsudo"
cleanup = true

disable = ['powershell', 'microsoft_store', 'pip3', 'system', 'wsl']

[pre_commands]
"00 Winget Export" = 'winget export --source winget --nowarn --output C:\Users\okr\Tools\winget_installed_apps.json'
"01 Podman Machine Repair" = '& "C:\Users\okr\Workspace\dotfiles\topgrade\repair-podman-machine.ps1"'
"02 Podman Machine" = "podman machine ssh dnf upgrade --refresh -y"

[post_commands]
"00 Cleanup Downloads Folder" = "nu --commands 'ls ~/Downloads | where modified < ((date now) - 30day) | par-each { rm -rf $in.name }'"
"01 Mise Prune" = "mise prune --tools --yes"
"02 Mise Reshim" = "mise reshim --force"

[commands]
"WSL ArchLinux-dev" = "wsl --distribution ArchLinux-dev --exec /usr/sbin/topgrade -y"
"Windows Update" = "powershell -NoProfile -Command 'Get-WindowsUpdate -MicrosoftUpdate -UpdateType Software -AcceptAll -Install -IgnoreReboot'"
"WezTerm Nightly" = '& "C:\Users\okr\Workspace\dotfiles\topgrade\update-wezterm-nightly.ps1"'
"WSL Cgroup Workaround" = '& "C:\Users\okr\Workspace\dotfiles\topgrade\sync-wsl-cgroup-workaround.ps1"'

[containers]
runtime = "podman"
system_prune = true

[windows]
open_remotes_in_new_terminal = true
wsl_update_use_web_download = true