networking lambdas to enable wakeonlan and hosts file

This commit is contained in:
2025-02-05 15:36:04 -06:00
parent 8a46014a08
commit 47f4b2a536
4 changed files with 13 additions and 7 deletions

View File

@@ -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";