From e8505f71ff4741156fc3ce05542dd3aa70798214 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 12 Jul 2018 14:14:27 +0200 Subject: lib: add isLocalTarget --- pkgs/krops/default.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'pkgs') diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix index 496b8d3..d9bea4b 100644 --- a/pkgs/krops/default.nix +++ b/pkgs/krops/default.nix @@ -1,11 +1,5 @@ let - lib = import ../../lib // { - isLocalTarget = let - origin = lib.mkTarget ""; - in target: - target.host == origin.host && - target.user == origin.user; - }; + lib = import ../../lib; in { nix, openssh, populate, writeDash, writeJSON }: let -- cgit v1.2.3