Disable dns client for now

This commit is contained in:
Niten 2021-04-21 10:50:09 -07:00
parent 735b44eb7a
commit b7c1a8dbf5
1 changed files with 19 additions and 17 deletions

View File

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib; { with lib;
let hostname = "nostromo";
in {
networking = { networking = {
eno1.useDHCP = false; eno1.useDHCP = false;
@ -15,23 +17,23 @@ with lib; {
intif0 = { useDHCP = true; }; intif0 = { useDHCP = true; };
}; };
fudo = { # fudo = {
secrets.backplane-client-nostromo-passwd = { # secrets."backplane-client-${hostname}-passwd" = {
source-file = /srv/secrets/backplane-client/nostromo.passwd; # source-file = toPath "/srv/secrets/backplane-client/${hostname}.passwd";
target-file = "/srv/backplane/dns/client.passwd"; # target-file = "/srv/backplane/dns/client.passwd";
target-host = "nostromo"; # target-host = "${hostname}";
user = config.fudo.client.dns.user; # user = config.fudo.client.dns.user;
}; # };
client.dns = { # client.dns = {
enable = true; # enable = true;
ipv4 = false; # ipv4 = false;
ipv6 = true; # ipv6 = true;
user = "fudo-client"; # user = "fudo-client";
external-interface = "extif0"; # external-interface = "extif0";
password-file = "/srv/client/secure/client.passwd"; # password-file = secrets."backplane-client-${hostname}-passwd".target-file;
}; # };
}; # };
virtualization = { virtualization = {
libvirtd = { libvirtd = {