modules/port-magic: add option for extra data

This commit is contained in:
Max Headroom 2022-08-03 22:19:03 +02:00
parent cf1dd21418
commit 9726abda88

View file

@ -65,6 +65,10 @@ in
type = types.str;
description = "The hostname:port tuple.";
};
extra = mkOption {
type = types.attrs;
description = "Arbitrary extra data.";
};
};
config = mkIf true {
hostname = mkDefault cfg.ipv4;