tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos, dhcpd: make machines assignable
Edward Tjörnhammar
9 years ago
fa367c2d
136c249e
+4
-3
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
dhcpd.nix
+4
-3
nixos/modules/services/networking/dhcpd.nix
···
60
60
};
61
61
};
62
62
63
63
-
machineOpts = {...}: {
64
64
-
config = {
63
63
+
machineOpts = { ... }: {
64
64
+
65
65
+
options = {
65
66
66
67
hostName = mkOption {
67
68
type = types.str;
···
156
157
};
157
158
158
159
machines = mkOption {
159
159
-
type = types.listOf (types.submodule machineOpts);
160
160
+
type = with types; listOf (submodule machineOpts);
160
161
default = [];
161
162
example = [
162
163
{ hostName = "foo";