1 import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... }:
4 name = "disable-installer-tools";
9 system.disableInstallerTools = true;
10 boot.enableContainers = false;
11 environment.defaultPackages = [];
15 machine.wait_for_unit("multi-user.target")
16 machine.wait_until_succeeds("pgrep -f 'agetty.*tty1'")
18 with subtest("nixos installer tools should not be included"):
19 machine.fail("which nixos-rebuild")
20 machine.fail("which nixos-install")
21 machine.fail("which nixos-generate-config")
22 machine.fail("which nixos-enter")
23 machine.fail("which nixos-version")
24 machine.fail("which nixos-build-vms")
26 with subtest("perl should not be included"):
27 machine.fail("which perl")