Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Options Reference

All options are under the machines namespace.

NixOS / nix-darwin options

Declared in modules/options.nix.

OptionTypeDefaultDescription
machines.usernamestr"ananth"Primary user account name
machines.sshKeyslistOf strYubikey keysSSH public keys for the primary user
machines.timeZonestr"Asia/Kolkata"System timezone
machines.localestr"en_IN"System default locale
machines.vault.addressstr"http://endeavour:8200"Vault server address
machines.monitoring.vmHostnullOr str"endeavour"Host running VictoriaMetrics
machines.serviceTarget.namestr"kedi"Systemd target name for grouped services

Home-manager options

Declared in modules/home/options.nix.

OptionTypeDefaultDescription
machines.usernamestr"ananth"Primary user account name

Service-level options

These are declared by the individual NixOS modules and live under my-services.* and my-scripts.*:

OptionModuleTypeDescription
my-services.cftunnelConfigcftunnelnullOr (listOf tunnel)Cloudflare tunnel configs
my-services.tailscaleServeConfigtailscale-servenullOr attrsTailscale serve config
my-services.kediTargetsservice-targetattrsOf boolServices for the grouped target
my-services.restartUnitsservice-targetlistOf strExtra units for the target
my-services.restartUnitsExcludeservice-targetlistOf strUnits to exclude from the target
my-services.rclone-syncsrclone-syncattrsOf syncJobRclone sync job definitions
my-services.mkBackupServicescriptsfunctionTo attrsKopia backup service builder
my-scripts.victoriaMetricsHostscriptsnullOr strVictoriaMetrics host for metrics
my-scripts.shell-helpersscriptspackageSourceable shell helpers script