networking lambdas to enable wakeonlan and hosts file
This commit is contained in:
@@ -49,6 +49,15 @@ in
|
||||
};
|
||||
description = "Set of IP's for all my computers.";
|
||||
};
|
||||
interfaces = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
default = {
|
||||
server = "enp0s31f6";
|
||||
miniserver = "enp2s0";
|
||||
workstation = "enp5s0";
|
||||
};
|
||||
description = "Set of network interface names for all my computers.";
|
||||
};
|
||||
mainServer = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "miniserver";
|
||||
|
||||
Reference in New Issue
Block a user