bos55-nix-config-cicd/modules/common/networking.nix
Tibo De Peuter 711dc677ec
Some checks failed
Check / check (push) Failing after 8s
WIP/backup: Deployment batch antigravity
2026-03-17 18:18:19 +01:00

19 lines
537 B
Nix

{ config, lib, ... }:
{
options.homelab.networking = {
hostIp = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
description = ''
The primary IP address of the host.
Used for automated deployment and internal service discovery.
'';
};
};
config = lib.mkIf (config.homelab.networking.hostIp != null) {
# If a hostIp is provided, we can potentially use it to configure
# networking interfaces or firewall rules automatically here in the future.
};
}