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:
+3
-1
@@ -72,7 +72,9 @@ assert "0.42" in session("wpctl get-volume @DEFAULT_AUDIO_SINK@")
|
||||
session("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 1")
|
||||
assert "MUTED" in session("wpctl get-volume @DEFAULT_AUDIO_SOURCE@")
|
||||
session("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ 0")
|
||||
machine.succeed("systemctl is-active systemd-resolved")
|
||||
machine.succeed("systemctl is-active NetworkManager display-manager")
|
||||
machine.succeed("test $(stat -c %U /etc/nix) = dev")
|
||||
machine.succeed("test $(stat -c %U /var/cache/nixos-update) = dev")
|
||||
|
||||
launch("terminal", "kitty --title 'Workspace ready' sh -c " + shlex.quote(
|
||||
"printf '\\n WORKSPACE READY\\n\\n'; "
|
||||
|
||||
Reference in New Issue
Block a user