NixOS-Config/variables/ips/default.nix

16 lines
274 B
Nix
Raw Permalink Normal View History

2024-10-15 02:40:43 -04:00
{ lib, config, ... }:
{
options.ips = lib.mkOption {
type = lib.types.attrs;
default = {};
};
2024-09-12 01:31:59 -04:00
2024-10-15 02:40:43 -04:00
config.ips = rec {
2024-11-12 04:25:51 -05:00
localSpan = "10.1.0";
2024-10-15 02:40:43 -04:00
server = "${localSpan}.2";
2024-11-12 04:25:51 -05:00
pc = "${localSpan}.4";
vm = "${localSpan}.5";
2024-10-15 02:40:43 -04:00
hx = "${localSpan}.70";
};
2024-08-24 22:16:51 -04:00
}