1
0
Fork 0

jokum: don't use host resolv.conf

This commit is contained in:
Daniel Lovbrotte Olsen 2023-03-04 03:04:32 +01:00
parent e61977e497
commit 8f23d7ba06
1 changed files with 1 additions and 2 deletions

View File

@ -16,12 +16,11 @@
boot.kernel.enable = false; boot.kernel.enable = false;
boot.isContainer = true; boot.isContainer = true;
networking.useHostResolvConf = false;
boot.loader.initScript.enable = true; boot.loader.initScript.enable = true;
networking.hostName = "jokum"; # Define your hostname. networking.hostName = "jokum"; # Define your hostname.
services.resolved.enable = false;
systemd.network.networks."30-ens10f1" = values.defaultNetworkConfig // { systemd.network.networks."30-ens10f1" = values.defaultNetworkConfig // {
matchConfig.Name = "ens10f1"; matchConfig.Name = "ens10f1";
address = with values.hosts.jokum; [ (ipv4 + "/25") (ipv6 + "/64") ] address = with values.hosts.jokum; [ (ipv4 + "/25") (ipv6 + "/64") ]