diff options
author | Janne Heß <janne@hess.ooo> | 2022-04-24 15:45:02 +0100 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2022-04-30 11:41:27 +0200 |
commit | fa2c9b41d4fc2420036021699c2524f5e1f81c66 (patch) | |
tree | f61a7c38b0827394ded26b871cbf76806541ceec /nixos/tests | |
parent | f678ad7c7a306f5a073fbb68e93a074ca2d1f054 (diff) | |
download | nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.tar nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.tar.gz nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.tar.bz2 nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.tar.lz nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.tar.xz nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.tar.zst nixpkgs-fa2c9b41d4fc2420036021699c2524f5e1f81c66.zip |
nixos/systemd-stage-1: Add initrd secrets support
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/systemd-initrd-luks-keyfile.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/systemd-initrd-luks-keyfile.nix b/nixos/tests/systemd-initrd-luks-keyfile.nix index 970163c36a4..25c0c5bd866 100644 --- a/nixos/tests/systemd-initrd-luks-keyfile.nix +++ b/nixos/tests/systemd-initrd-luks-keyfile.nix @@ -32,7 +32,7 @@ in { }; }; virtualisation.bootDevice = "/dev/mapper/cryptroot"; - boot.initrd.systemd.contents."/etc/cryptroot.key".source = keyfile; + boot.initrd.secrets."/etc/cryptroot.key" = keyfile; }; }; |