Host profiles
A host profile is a template that defines the role of a machine. It is
chosen with profile: in etc/config.yaml. Profiles are inherited: each
starts from another and adds its specifics.
Heritatge
Section titled “Heritatge”Profiles
Section titled “Profiles”| Profile | Purpose | Inherits from | Adds |
|---|---|---|---|
minimal | Base of every host | Hardware, firewall, i18n, zsh, sudo | |
server | Headless server | minimal | No sleep, watchdog, limited boot |
desktop | Workstation | minimal | GNOME, multimedia, office suite |
laptop | Laptop | desktop | Battery, sensors, thermald |
umi | Accessible workstation | desktop | Autologin, uinput, udev Tobii |
portable | Bootable USB drive | minimal | Extended hardware drivers |
gateway | Zone gateway | server | Router, firewall, DNS/DHCP, VPN |
hcs | VPN coordination | server | Headscale + shared services |
vm | Virtual machine | server | Guest tools (VirtualBox/QEMU/Xen) |
ai-space | AI space (agents) | server | Secrets isolated from the fleet; its users form the Kanidm group space-<hôte> |
Every host loads all firmware, except for a virtual machine :
just install and just copy-hw detect it, regardless of its profile
(0.8 GiB less to download).
Workstations (desktop, laptop) print via CUPS and network discovery,
without proprietary drivers. For all drivers (HP, Brother, Canon, Epson,
Samsung), including on a laptop that already had them :
# usr/machines/<hôte>/configuration.nixdarkone.service.printing.loadAll = true;Network discovery stops at the zone : for a printer installed across the entire fleet, see Share a network printer.
Choosing a profile
Section titled “Choosing a profile”hosts: - hostname: "poste" profile: "desktop"