mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 10:06:13 +01:00
3ccb236c4b
Signed-off-by: Magic_RB <magic_rb@redalder.org>
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 = {};
|
|
};
|
|
};
|
|
}
|