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, ... }:
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 = {