modules/port-magic: add option for extra data
This commit is contained in:
parent
cf1dd21418
commit
9726abda88
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue