Merge pull request #199515 from MangoIV/mangoiv/add-note-to-boot-initrd-secrets

Add documentation for moved secrets in stage 1
This commit is contained in:
Michele Guerini Rocco 2024-02-14 14:35:04 +01:00 committed by GitHub
commit c1f27ae1d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -621,6 +621,11 @@ in
path the secret should have inside the initrd, the value
is the path it should be copied from (or null for the same
path inside and out).
Note that `nixos-rebuild switch` will generate the initrd
also for past generations, so if secrets are moved or deleted
you will also have to garbage collect the generations that
use those secrets.
'';
example = literalExpression
''