Fix test-resource-guard.nix: add missing serverModule import

This commit is contained in:
centra 2026-02-17 17:43:08 +09:00
parent 2f52a30b78
commit 5c3ecee153
Signed by: centra
GPG key ID: 0C09689D20B25ACA

View file

@ -1,5 +1,8 @@
{ pkgs, serverPkg, clientPkg }:
let
serverModule = import ../nixos/modules/lightscale-server.nix {
defaultPackage = serverPkg;
};
clientModule = import ../nixos/modules/lightscale-client.nix {
defaultPackage = clientPkg;
};
@ -8,6 +11,7 @@ in
name = "lightscale-lab-resource-guard";
nodes = {
server = { ... }: {
imports = [ serverModule ];
networking.hostName = "server";
networking.usePredictableInterfaceNames = false;
virtualisation.vlans = [ 1 ];