mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 09:22:02 +01:00
a5a651dbb9
Signed-off-by: main <magic_rb@redalder.org>
23 lines
507 B
Nix
23 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 = {};
|
|
};
|
|
};
|
|
}
|