cluster/lib: add per-host port magic

This commit is contained in:
Max Headroom 2022-10-22 13:30:09 +02:00
parent fc2944edf2
commit b923e738e8
2 changed files with 12 additions and 0 deletions

View file

@ -13,6 +13,7 @@ lib.evalModules {
./lib/load-hosts.nix
./lib/services.nix
./lib/inject-nixos-config.nix
./lib/port-magic-multi.nix
./import-services.nix
];

View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
with lib;
{
options.hostLinks = mkOption {
type = types.attrsOf (types.attrsOf (types.submodule ../../modules/port-magic/link.nix));
description = "Port Magic links, per host.";
default = {};
};
}