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

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

  krebs.hosts.minimal = {
    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;
  };
}