nixos/headscale: `ephemeral_node_inactivity_timeout` is deprecated

Open Beginner friendly
#538,040 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet

Research direction

Locate the NixOS headscale module and inspect how it renders the ephemeral node inactivity setting. Compare it with headscale's v0.29.0 configuration references [1,2], then verify that the generated configuration uses node.ephemeral.inactivity_timeout and no longer emits the deprecation warning.

Written by the indexing model from the issue text.

Description

Since v0.29.0 the ephemeral_node_inactivity_timeout option is deprecated in favor of node.ephemeral.inactivity_timeout [1,2].

Using any version greater than v0.29.0 with the existing headscale module will emit this warning in journal:

# journalctl -u headscale 
...
Jul 02 05:25:54 ... headscale-start[6653]: 2026-07-02T05:25:54Z WRN
Jul 02 05:25:54 ... headscale-start[6653]: WARN: The "ephemeral_node_inactivity_timeout" configuration key is deprecated. Please use "node.ephemeral.inactivity_timeout" instead. "ephemeral_node_inactivity_timeout" has been removed.
...

Additionally, it can prevent headscale from starting up if new configuration is not set [3]. It will only emit warning at this time [4].

related: #534721
cc: @kradalby @Misterio77

Dominant language
Nix
Stars
26.2k
Forks
20.1k
Avg merge
14h 6m
Merged PRs (30d)
584

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NixOS/nixpkgs

All issues in NixOS/nixpkgs

Similar issues

More Operating Systems issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.