19 lines
395 B
Nix
19 lines
395 B
Nix
{ pkgs, self }:
|
|
|
|
pkgs.testers.runNixOSTest {
|
|
name = "i-am-gcroot";
|
|
|
|
nodes.machine = { pkgs, ... }: {
|
|
imports = [ self.nixosModules.default ];
|
|
programs.i-am-gcroot.enable = true;
|
|
users.users.alice = {
|
|
isNormalUser = true;
|
|
uid = 1000;
|
|
};
|
|
environment.systemPackages = [ pkgs.curl pkgs.jq ];
|
|
virtualisation.memorySize = 1024;
|
|
};
|
|
|
|
testScript = builtins.readFile ./vm-test.py;
|
|
}
|