refactor: share workstation setup and boot-staged updates

Use dev-owned checkouts and one update policy on both hosts. Keep only hardware and deployment identity in host modules, use the same SDDM/UWSM workstation module in the VM, and install a host-configured manual switch command with lock regression tests.
This commit is contained in:
OpenAI Coding Assistant
2026-09-05 23:52:51 -05:00
parent 209f4d8bda
commit 4893fcfec0
18 changed files with 358 additions and 247 deletions
+3 -1
View File
@@ -20,11 +20,13 @@ pkgs.runCommand "workstation-tools-check"
valgrind heaptrack rr eu-readelf bpftrace java javac mvn gradle kotlin \
dotnet ruby bundle php composer zig zls elixir erl protoc buf \
dprint stylua taplo marksman markdownlint-cli2 sqlfluff hadolint ast-grep rga \
hurl oha step mkcert cosign syft grype mosh sshfs asciinema vhs; do
hurl oha step mkcert cosign syft grype mosh sshfs asciinema vhs switch-system; do
command -v "$tool" >/dev/null
done
test -x ${config.home-manager.users.dev.programs.lazygit.package}/bin/lazygit
test -x ${config.home-manager.users.dev.programs.tmux.package}/bin/tmux
switch-system --help > "$TMPDIR/switch-help"
grep -Fq '/etc/nix#nixos' "$TMPDIR/switch-help"
pi --version
uv --version
ruff --version