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.
Inheritance
Section titled “Inheritance”Profiles
Section titled “Profiles”| Profile | Purpose | Inherits from | Provides |
|---|---|---|---|
minimal | Base for every host | Hardware, firewall, i18n, zsh, sudo | |
server | Server without display | minimal | No suspend, watchdog, limited boot |
desktop | Workstation | minimal | GNOME, multimedia, office |
laptop | Laptop computer | desktop | Battery/suspend, sensors, thermald |
portable | Bootable USB drive | minimal | Extended hardware drivers |
gateway | Zone gateway | server | Router, firewall, DNS/DHCP, VPN |
hcs | VPN orchestration | server | Headscale + shared services |
vm | Virtual machine | server | Guest tools (VirtualBox/QEMU/Xen) |
Choosing a profile
Section titled “Choosing a profile”hosts: - hostname: "poste" profile: "desktop"