dotfiles/nixos/secret-lib/network.nix
main a5a651dbb9
Large rework and cleanup
Signed-off-by: main <magic_rb@redalder.org>
2022-07-31 11:03:59 +02:00

24 lines
507 B
Nix

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{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 (oneOf [str (attrsOf str)]);
default = {};
};
};
}