about summary refs log tree commit diff
path: root/modules/profiles/tests.nix
blob: 8a8f448bff64bd2e14e8bfc594eb32670a31a5ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, lib, ... }:

with lib;

let
  which = if config.networking.useNetworkd then "networkd" else "scripted";
  networkTests = map (name: ["nixos" "networking" which name]) [
    "static" "dhcpSimple" "dhcpOneIf" "bond" "bridge" "macvlan" "sit" "vlan"
  ];

in {
  config = {
    vuizvui.requiresTests = networkTests;
  };
}