Commit 73f666a2 authored by mangoiv's avatar mangoiv
Browse files

nixos/modules/system/boot/stage-1.nix: add documentation for moved secrets in...

nixos/modules/system/boot/stage-1.nix: add documentation for moved secrets in past system generations
parent 6a888c14
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -640,6 +640,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
          ''