From b7c1a8dbf59c63fd7cab7f7537c7738d6b2da86c Mon Sep 17 00:00:00 2001 From: Niten Date: Wed, 21 Apr 2021 10:50:09 -0700 Subject: [PATCH] Disable dns client for now --- config/host-config/nostromo.nix | 36 +++++++++++++++++---------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/config/host-config/nostromo.nix b/config/host-config/nostromo.nix index 94591ea..7d8097a 100644 --- a/config/host-config/nostromo.nix +++ b/config/host-config/nostromo.nix @@ -1,6 +1,8 @@ { config, lib, pkgs, ... }: -with lib; { +with lib; +let hostname = "nostromo"; +in { networking = { eno1.useDHCP = false; @@ -15,23 +17,23 @@ with lib; { intif0 = { useDHCP = true; }; }; - fudo = { - secrets.backplane-client-nostromo-passwd = { - source-file = /srv/secrets/backplane-client/nostromo.passwd; - target-file = "/srv/backplane/dns/client.passwd"; - target-host = "nostromo"; - user = config.fudo.client.dns.user; - }; + # fudo = { + # secrets."backplane-client-${hostname}-passwd" = { + # source-file = toPath "/srv/secrets/backplane-client/${hostname}.passwd"; + # target-file = "/srv/backplane/dns/client.passwd"; + # target-host = "${hostname}"; + # user = config.fudo.client.dns.user; + # }; - client.dns = { - enable = true; - ipv4 = false; - ipv6 = true; - user = "fudo-client"; - external-interface = "extif0"; - password-file = "/srv/client/secure/client.passwd"; - }; - }; + # client.dns = { + # enable = true; + # ipv4 = false; + # ipv6 = true; + # user = "fudo-client"; + # external-interface = "extif0"; + # password-file = secrets."backplane-client-${hostname}-passwd".target-file; + # }; + # }; virtualization = { libvirtd = {