summary refs log tree commit diff
path: root/nixos/tests/installer.nix
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/tests/installer.nix
parent928181b5f38b5dacfa011a48fc66e10c1fefafd7 (diff)
downloadnixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.tar
nixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.tar.gz
nixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.tar.bz2
nixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.tar.lz
nixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.tar.xz
nixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.tar.zst
nixpkgs-9bb888c9f8224e45fc54d9f345369786cbd78bb6.zip
nixos/tests/installer: test relative paths in initrd secrets
Diffstat (limited to 'nixos/tests/installer.nix')
-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 db17e092247..f5455267b28 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;