blob: 136c9133905cf3f401110712d6944dee4bd319ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ lib, ... }: {
options.hrm.network.interfaces = lib.mkOption {
default = {};
description = ''
What hrm knows about network interfaces, by the names
networking.interfaces uses.
'';
type = lib.types.attrsOf (lib.types.submodule {
options.medium = lib.mkOption {
type = lib.types.nullOr (lib.types.enum [ "ethernet" "wlan" "wwan" ]);
default = null;
description = ''
What the interface connects through.
'';
};
});
};
}
|