summaryrefslogtreecommitdiffstats
path: root/krebs/6tests/data/test-config.nix
blob: f0927ddd91993ca1b50aab3fc9a18fd04b675539 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, pkgs, ... }:

{
  imports = [
    <stockholm/krebs>
    <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>
    <nixpkgs/nixos/modules/testing/test-instrumentation.nix>
  ];

  krebs.hosts.minimal = {
    cores = 1;
    secure = false;
  };

  boot.loader.grub.enable = false;
  boot.loader.systemd-boot.enable = true;

  krebs.build = {
    host = config.krebs.hosts.minimal;
    user = config.krebs.users.krebs;
  };
}