From 24326956780833540fd65dd0cb750c1071fa51b9 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 1 Oct 2015 14:59:58 +0200 Subject: krebs lib.types: deprecate host.infest.{addr,port} --- krebs/4lib/types.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'krebs/4lib') diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix index 0aa594fb1..039f803ef 100644 --- a/krebs/4lib/types.nix +++ b/krebs/4lib/types.nix @@ -31,10 +31,13 @@ types // rec { infest = { addr = mkOption { type = str; + apply = trace "Obsolete option `krebs.hosts.${config.name}.infest.addr' is used. It was replaced by the `target' argument to `make` or `get`. See Makefile for more information."; }; port = mkOption { type = int; default = 22; + # TODO replacement: allow target with port, SSH-style: [lol]:666 + apply = trace "Obsolete option `krebs.hosts.${config.name}.infest.port' is used. It's gone without replacement."; }; }; -- cgit v1.2.3