Unverified Commit c1f27ae1 authored by Michele Guerini Rocco's avatar Michele Guerini Rocco Committed by GitHub
Browse files

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

Add documentation for moved secrets in stage 1 
parents fb4f8ae2 73f666a2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
          ''