1.7 KiB
1.7 KiB
Changelog
[Unreleased]
Changes yet to be released are documented here.
v0.2.0
- Improve config discovery for server workflows:
- honor
$NIX_CACHE_LOGIN_CONFIGwhen--configis not set - fall back to
/etc/nix-cache-login/config.tomlwhen per-user config is absent
- honor
- Update
--confighelp text to document config path resolution order - Set
NIX_CACHE_LOGIN_CONFIGin the NixOS server module so interactive commands (likestatus) use the same config as the timer service - Install
/etc/nix-cache-login/config.tomlvia the NixOS server module fromservices.nix-cache-login-server.configFile - Add a NixOS server module VM test and wire it into flake checks
v0.1.3
- Improve
statusfor server use by detecting service-account mode from config - Detect whether the current token is a service-account token and validate it matches configured
client_id - Add explicit
statushealth states for service-account mode (OK,WARNING,EXPIRED) - Make
statusexit non-zero forWARNINGandEXPIREDstates - Add unit tests for status mode/token detection helpers
v0.1.2
- Fix path expansion when running in systemd
- Fix bug in netrc writing
- Add nixos, home-manager, and darwin-nix modules
v0.1.0
Initial release.
login— browser-based Authorization Code + PKCE flowrefresh— refresh access token using stored refresh tokenservice-account— headless client credentials flow for serversstatus— decode JWT from netrc, show expiry infologout— revoke tokens and clean up netrc- TOML config with environment variable expansion
- netrc read/write preserving other entries
- Nix flake with package, app, checks, and devShell