summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2023-01-15 13:57:50 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2023-01-16 02:31:02 +0100
commit9bb888c9f8224e45fc54d9f345369786cbd78bb6 (patch)
tree3e3c2008855a65edb5dc4b449c3e9068d4a3e907 /nixos
parent928181b5f38b5dacfa011a48fc66e10c1fefafd7 (diff)
nixos/tests/installer: test relative paths in initrd secrets
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/installer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index db17e092247b..f5455267b286 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -51,7 +51,7 @@ let
boot.loader.systemd-boot.enable = true;
''}
- boot.initrd.secrets."/etc/secret" = /etc/nixos/secret;
+ boot.initrd.secrets."/etc/secret" = ./secret;
users.users.alice = {
isNormalUser = true;