14 lines
302 B
Nix
14 lines
302 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with types;
|
|
let networkOpts = import ../types/network-definition.nix { inherit lib; };
|
|
|
|
in {
|
|
options.fudo.networks = mkOption {
|
|
type = attrsOf (submodule networkOpts);
|
|
description = "A map of networks to network definitions.";
|
|
default = { };
|
|
};
|
|
}
|