summary refs log tree commit diff
path: root/nixos/modules/system/activation
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-04-02 14:45:44 -0400
committerShea Levy <shea@shealevy.com>2017-04-02 16:33:37 -0400
commit59c097730030f12398fb9d8c70f93571f589e694 (patch)
treea39992ad90bbfe62945d6eeb115fd88ff145f869 /nixos/modules/system/activation
parentff4fa6387e5f3ed7e671cb57d522bbb67376d34e (diff)
downloadnixlib-59c097730030f12398fb9d8c70f93571f589e694.tar
nixlib-59c097730030f12398fb9d8c70f93571f589e694.tar.gz
nixlib-59c097730030f12398fb9d8c70f93571f589e694.tar.bz2
nixlib-59c097730030f12398fb9d8c70f93571f589e694.tar.lz
nixlib-59c097730030f12398fb9d8c70f93571f589e694.tar.xz
nixlib-59c097730030f12398fb9d8c70f93571f589e694.tar.zst
nixlib-59c097730030f12398fb9d8c70f93571f589e694.zip
Add facility to append secrets to the initrd
Diffstat (limited to 'nixos/modules/system/activation')
-rw-r--r--nixos/modules/system/activation/top-level.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index 84c23bed3e3b..e9897cc01b6a 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -53,6 +53,8 @@ let
 
         ln -s ${config.system.build.initialRamdisk}/initrd $out/initrd
 
+        ln -s ${config.system.build.initialRamdiskSecretAppender}/bin/append-initrd-secrets $out
+
         ln -s ${config.hardware.firmware}/lib/firmware $out/firmware
       ''}