Skip to content

Commit bb97831

Browse files
committed
Incorporate PR review feedback
1 parent 813e988 commit bb97831

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

checks/default.nix

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,13 @@ let
123123
id = "credentials";
124124
modules = [ ({ config, pkgs, ... }: {
125125
# This is the guest vm config
126-
microvm.credentialFiles.SECRET_BOOTSTRAP_KEY = "/etc/microvm-bootstrap.secret";
127-
microvm.testing.enableTest = builtins.elem config.microvm.hypervisor [
128-
# Hypervisors that support systemd credentials
129-
"qemu"
130-
];
126+
microvm = {
127+
credentialFiles.SECRET_BOOTSTRAP_KEY = "/etc/microvm-bootstrap.secret";
128+
testing.enableTest = builtins.elem config.microvm.hypervisor [
129+
# Hypervisors that support systemd credentials
130+
"qemu"
131+
];
132+
};
131133
# TODO: need to somehow have the test harness check for the success or failure of this service.
132134
systemd.services.test-secret-availability = {
133135
serviceConfig = {

0 commit comments

Comments
 (0)