Files
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

29 lines
863 B
Nix

# Laptop-only boot/storage, hardware measurements and checkout identity.
# The original /etc/nixos files and /home/kbot remain untouched.
{ lib, ... }:
{
imports = [
./hardware-configuration.nix
./common.nix
./workstation.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
networking.hostName = "nixos";
# 1440x900 logical pixels; leave other displays on automatic scaling.
home-manager.users.dev.wayland.windowManager.hyprland.extraConfig = lib.mkAfter ''
hl.monitor({ output = "eDP-1", mode = "preferred", position = "auto", scale = 4 / 3 })
'';
home-manager.users.dev.programs.ashell.settings.system_info.temperature.sensor =
"coretemp Package id 0";
systemd.services.nixos-update.environment = {
NIXOS_CONFIG_REPO = "/etc/nix";
NIXOS_UPDATE_HOST = "nixos";
};
}