Files
nix-config/modules/nixos/desktop/nix.nix
T
ryan4yin | 二花 ef00eb31e0 docs: warn that user-readable decrypted secrets must not be read (#303)
Only three secrets are readable as the login user (nix-access-tokens,
ssh-key-romantic and the nushell one); everything else is root-only and
the filesystem already keeps agents out.
2026-09-21 21:18:06 +08:00

8 lines
160 B
Nix

{ config, ... }:
{
nix.extraOptions = ''
# decrypted secret: AI agents must not read it
!include ${config.age.secrets.nix-access-tokens.path}
'';
}