mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 16:54:35 +00:00
Remove networkmanager load time fix (doesn't work on vm)
This commit is contained in:
parent
192d829f16
commit
8053e16a12
|
@ -1,4 +1,4 @@
|
||||||
{lib, ...}:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
|
@ -10,17 +10,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fallbackDns = [
|
fallbackDns = [
|
||||||
"9.9.9.9"
|
"9.9.9.9"
|
||||||
"2620:fe::fe"
|
"2620:fe::fe"
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
|
||||||
# don't wait for network to boot faster
|
|
||||||
# https://old.reddit.com/r/NixOS/comments/vdz86j/how_to_remove_boot_dependency_on_network_for_a
|
|
||||||
systemd = {
|
|
||||||
targets.network-online.wantedBy = lib.mkForce []; # default is [ "multi-user.target" ]
|
|
||||||
services.NetworkManager-wait-online.wantedBy = lib.mkForce []; # default is [ "network-online.target" ]
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue