forked from clan/clan-core
15 lines
343 B
Nix
15 lines
343 B
Nix
(import ../lib/container-test.nix) ({ ... }: {
|
|
name = "secrets";
|
|
|
|
nodes.machine = { ... }: {
|
|
networking.hostName = "machine";
|
|
services.openssh.enable = true;
|
|
services.openssh.startWhenNeeded = false;
|
|
};
|
|
testScript = ''
|
|
start_all()
|
|
machine.succeed("systemctl status sshd")
|
|
machine.wait_for_unit("sshd")
|
|
'';
|
|
})
|