mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-22 15:24:03 +01:00
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.
8 lines
160 B
Nix
8 lines
160 B
Nix
{ config, ... }:
|
|
{
|
|
nix.extraOptions = ''
|
|
# decrypted secret: AI agents must not read it
|
|
!include ${config.age.secrets.nix-access-tokens.path}
|
|
'';
|
|
}
|