1
Fork 0
satellite/modules/nixos/ports.nix

10 lines
298 B
Nix
Raw Permalink Normal View History

2024-06-13 15:47:36 +02:00
# Generic interface for working specifying a single-source of truth for ports!
{ lib, ... }:
{
options.satellite.ports = lib.mkOption {
description = "Record of custom app-port mappings to use throughput the config";
type = lib.types.lazyAttrsOf lib.types.port;
default = { };
};
}