about summary refs log tree commit diff
path: root/nixos/tests/incus/default.nix
blob: c33bf1600f27a139aff1ebbc17a79d4837edfa91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  system ? builtins.currentSystem,
  config ? { },
  pkgs ? import ../../.. { inherit system config; },
  handleTestOn,
  incus ? pkgs.incus-lts,
}:
{
  container-legacy-init = import ./container.nix {
    name = "container-legacy-init";
    inherit incus system pkgs;
  };
  container-systemd-init = import ./container.nix {
    name = "container-systemd-init";
    inherit incus system pkgs;
    extra = {
      boot.initrd.systemd.enable = true;
    };
  };
  incusd-options = import ./incusd-options.nix { inherit incus system pkgs; };
  lxd-to-incus = import ./lxd-to-incus.nix { inherit incus system pkgs; };
  openvswitch = import ./openvswitch.nix { inherit incus system pkgs; };
  socket-activated = import ./socket-activated.nix { inherit incus system pkgs; };
  storage = import ./storage.nix { inherit incus system pkgs; };
  ui = import ./ui.nix { inherit incus system pkgs; };
  virtual-machine = handleTestOn [ "x86_64-linux" ] ./virtual-machine.nix {
    inherit incus system pkgs;
  };
}