services.yggdrasil.settings.PrivateKeyPath

NixOS option

Path to the private key file on the host system. When specified, the key will be loaded via systemd credentials for secure access by the yggdrasil service. Warning: Do not put private keys directly in the Nix store as they would be world-readable!

type: null or absolute path
Default
null
Example
"/run/secrets/yggdrasil-private-key"
declared in: nixos/modules/services/networking/yggdrasil.nixView source on NixOS/nixpkgs →