mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
23 lines
373 B
Nix
23 lines
373 B
Nix
|
{ lib, ... }:
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
options = {
|
||
|
network.ips = mkOption {
|
||
|
description = ''
|
||
|
Host IPs.
|
||
|
'';
|
||
|
type = with types; attrsOf (oneOf [ str (attrsOf str) ]);
|
||
|
default = {};
|
||
|
};
|
||
|
|
||
|
network.networks = mkOption {
|
||
|
description = ''
|
||
|
Network IPs.
|
||
|
'';
|
||
|
type = with types; attrsOf str;
|
||
|
default = {};
|
||
|
};
|
||
|
};
|
||
|
}
|