summary refs log tree commit diff
path: root/nixos/tests/cjdns.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-20 17:56:59 +0000
committervolth <volth@volth.com>2018-07-20 18:48:37 +0000
commit87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch)
treed76aa79bc394e820305c4eebbd250c89f6992eb9 /nixos/tests/cjdns.nix
parenta7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff)
downloadnixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar
nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.gz
nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.bz2
nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.lz
nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.xz
nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.zst
nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.zip
[bot]: remove unreferenced code
Diffstat (limited to 'nixos/tests/cjdns.nix')
-rw-r--r--nixos/tests/cjdns.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/nixos/tests/cjdns.nix b/nixos/tests/cjdns.nix
index 4d3b58abc6e..db89c496944 100644
--- a/nixos/tests/cjdns.nix
+++ b/nixos/tests/cjdns.nix
@@ -2,7 +2,6 @@ let
   carolKey = "2d2a338b46f8e4a8c462f0c385b481292a05f678e19a2b82755258cf0f0af7e2";
   carolPubKey = "n932l3pjvmhtxxcdrqq2qpw5zc58f01vvjx01h4dtd1bb0nnu2h0.k";
   carolPassword = "678287829ce4c67bc8b227e56d94422ee1b85fa11618157b2f591de6c6322b52";
-  carolIp4 = "192.168.0.9";
 
   basicConfig =
     { config, pkgs, ... }:
@@ -44,9 +43,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       bob =
         { config, lib, nodes, ... }:
 
-        let carolIp4 = lib.mkForce nodes.carol.config.networking.interfaces.eth1; in
-
-          { imports = [ basicConfig ];
+        { imports = [ basicConfig ];
 
           networking.interfaces.eth1.ipv4.addresses = [
             { address = "192.168.0.2"; prefixLength = 24; }
@@ -67,10 +64,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       # but knows neither Alice or Bob.
       carol =
         { config, lib, nodes, ... }:
-          let
-            carolIp4 = (lib.mkForce nodes.carol.config.networking.interfaces.eth1);
-          in
-          { imports = [ basicConfig ];
+        { imports = [ basicConfig ];
 
           environment.etc."cjdns.keys".text = ''
             CJDNS_PRIVATE_KEY=${carolKey}