53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
# hosts/AZ-TC-01/default.nix
|
|
#
|
|
# Fleet Host AZ-TC-01 — pilot #1 of the AZ-NIX-CLIENTS Thin Client fleet.
|
|
# Imports the thin-client role, declares hardware class, and that's it.
|
|
# Everything else is composed by roles/thin-client/default.nix.
|
|
{...}: {
|
|
imports = [
|
|
../../roles/thin-client
|
|
];
|
|
|
|
az.tc = {
|
|
enable = true;
|
|
hardwareClass = "generic-x86_64-uefi";
|
|
# Staging mode silences placeholder-warnings (real SSID, hotline,
|
|
# company name) until we have the final corp values.
|
|
site = "staging";
|
|
|
|
features = {
|
|
ad = true;
|
|
wifi = true;
|
|
};
|
|
|
|
ad = {
|
|
domain = "az-group.local";
|
|
realm = "AZ-GROUP.LOCAL";
|
|
ou = "CN=Computers,DC=az-group,DC=local";
|
|
domainControllers = [
|
|
{
|
|
host = "azdc01.az-group.local";
|
|
address = "192.168.152.253";
|
|
}
|
|
{
|
|
host = "adpdc01.az-group.local";
|
|
address = "192.168.152.254";
|
|
}
|
|
];
|
|
};
|
|
|
|
wifi = {
|
|
mode = "psk";
|
|
ssid = "Pluto";
|
|
};
|
|
};
|
|
|
|
networking.hostName = "AZ-TC-01";
|
|
|
|
# Disk device override for this specific box (Dell OptiPlex 3040 Micro
|
|
# with a 256GB SATA SSD).
|
|
az.tc.deployment.diskDevice = "/dev/nvme0n1";
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|