about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/incus/default.nix
blob: ff36fe9d67308e1f4925ffddf2550ddef84e6843 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  system ? builtins.currentSystem,
  config ? { },
  pkgs ? import ../../.. { inherit system config; },
  handleTestOn,
}:
{
  container-old-init = import ./container.nix { inherit system pkgs; };
  container-new-init = import ./container.nix { inherit system pkgs; extra = {
    # Enable new systemd init
    boot.initrd.systemd.enable = true;
  }; };
  lxd-to-incus = import ./lxd-to-incus.nix { inherit system pkgs; };
  preseed = import ./preseed.nix { inherit system pkgs; };
  socket-activated = import ./socket-activated.nix { inherit system pkgs; };
  ui = import ./ui.nix {inherit system pkgs;};
  virtual-machine = handleTestOn [ "x86_64-linux" ] ./virtual-machine.nix { inherit system pkgs; };
}