Files
nixconfig/configuration.nix
OpenAI Coding Assistant 4893fcfec0 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.
2026-09-05 23:52:51 -05:00

16 lines
460 B
Nix

# EC2 only. Physical machines must use the separate nixos host target.
{ modulesPath, ... }:
{
imports = [
# Keep the image's EC2 boot, storage, metadata, SSH and SSM integration.
"${modulesPath}/virtualisation/amazon-image.nix"
./common.nix
];
# Keep the existing deployment path; ownership/update policy is shared.
systemd.services.nixos-update.environment = {
NIXOS_CONFIG_REPO = "/etc/nixos";
NIXOS_UPDATE_HOST = "dev";
};
}