repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

fix(topgrade): make Windows and WSL updates reliable

01e458ffcae3896c1caee787cee738b81b32455c

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

topgrade/win32.toml

Modified
9 9 cleanup = true
10 10 no_self_update = true
12 -disable = ['powershell', 'microsoft_store']
13 -ignore_failures = ['winget']
12 +disable = ['powershell', 'microsoft_store', 'system', 'wsl']
15 14 [pre_commands]
16 15 "00 Winget Export" = 'winget export --source winget --nowarn --output C:\Users\okr\Tools\winget_installed_apps.json'
18 17 [post_commands]
19 18 "00 Cleanup Downloads Folder" = "nu --commands 'ls ~/Downloads | where modified < ((date now) - 30day) | par-each { rm -rf $in.name }'"
20 -"01 Flush DNS" = "ipconfig /flushdns"
22 20 [commands]
21 +"WSL ArchLinux-dev" = "wsl --distribution ArchLinux-dev --exec /usr/sbin/topgrade -y"
22 +"Windows Update" = "powershell -NoProfile -Command 'Get-WindowsUpdate -MicrosoftUpdate -UpdateType Software -AcceptAll -Install -IgnoreReboot'"
24 +[containers]
25 +runtime = "podman"
26 +system_prune = true
24 28 [windows]
25 -accept_all_updates = true
26 29 open_remotes_in_new_terminal = true
27 -wsl_update_pre_release = true
28 30 wsl_update_use_web_download = true

topgrade/wsl.toml

Modified
1 1 [git]
2 2 repos = ["~/Workspace/*"]
3 -arguments = "--ff --rebase"
4 3 max_concurrency = 12
5 4 pull_predefined = false
5 +fetch_only = true
7 7 [misc]
8 8 show_distribution_summary = true