NixOS-Config/variables/ips/default.nix

17 lines
295 B
Nix
Raw 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 {
netInt = "eno1";
localSpan = "10.0.0";
server = "${localSpan}.2";
pc = "${localSpan}.3";
vm = "${localSpan}.4";
hx = "${localSpan}.70";
};
2024-08-24 22:16:51 -04:00
}