From 4d5bfae7b24810238555ec919c53e66077a606de Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 1 Oct 2015 18:48:41 +0200 Subject: fix wry ip --- makefu/1systems/wry.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'makefu') diff --git a/makefu/1systems/wry.nix b/makefu/1systems/wry.nix index 29ad82d4c..b4cdab7cf 100644 --- a/makefu/1systems/wry.nix +++ b/makefu/1systems/wry.nix @@ -2,11 +2,12 @@ let - ip = (lib.elemAt config.krebs.build.host.nets.internet.addrs4 0); + ip = (lib.head config.krebs.build.host.nets.internet.addrs4); in { imports = [ ../../tv/2configs/CAC-CentOS-7-64bit.nix ../2configs/base.nix + ../2configs/base-sources.nix ../2configs/tinc-basic-retiolum.nix { } @@ -18,13 +19,17 @@ in { prefixLength = 24; } ]; - networking.defaultGateway = "104.233.80.1"; + networking.defaultGateway = "104.233.87.1"; networking.nameservers = [ "8.8.8.8" ]; # based on ../../tv/2configs/CAC-Developer-2.nix sound.enable = false; + + # prepare graphs + nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; + krebs.build = { user = config.krebs.users.makefu; target = "root@${ip}"; -- cgit v1.2.3 From 73aa31010415ac5f7bf86d2bb77099fc3097905a Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 1 Oct 2015 18:49:16 +0200 Subject: makefu/base" fix secrets path --- makefu/2configs/base.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu') diff --git a/makefu/2configs/base.nix b/makefu/2configs/base.nix index 34b413024..91a500393 100644 --- a/makefu/2configs/base.nix +++ b/makefu/2configs/base.nix @@ -6,7 +6,7 @@ with lib; { users.extraUsers = mapAttrs (_: h: { hashedPassword = h; }) - (import /root/src/secrets/hashedPasswords.nix); + (import ); } ./vim.nix ]; -- cgit v1.2.3