forked from Drift/pvv-nixos-config
jokum: don't use host resolv.conf
This commit is contained in:
parent
e61977e497
commit
8f23d7ba06
|
@ -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") ]
|
||||||
|
|
Loading…
Reference in New Issue