# Reference host — machine specifics ONLY.
# The distro itself comes from nixosModules.nomarchy (modules/nixos),
# imported in flake.nix. Keep this file boring.
{ pkgs, username, ... }:

{
  imports = [ ./hardware-configuration.nix ];

  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;
  boot.kernelPackages = pkgs.linuxPackages_latest;

  networking.hostName = "nomarchy";
  time.timeZone = "UTC"; # adjust per machine
  i18n.defaultLocale = "en_US.UTF-8";

  users.users.${username} = {
    isNormalUser = true;
    description = "Nomarchy user";
    extraGroups = [ "wheel" "networkmanager" "video" "input" ];
  };

  system.stateVersion = "26.05";
}
