tv ppp: allow networkd

This commit is contained in:
tv 2021-01-22 01:02:45 +01:00
parent a0ca091cbf
commit 88c6558935

View File

@ -8,8 +8,10 @@
in { in {
assertions = [ assertions = [
{ {
assertion = config.networking.resolvconf.enable; assertion =
message = "ppp configuration needs resolvconf"; config.networking.resolvconf.enable ||
config.networking.useNetworkd;
message = "ppp configuration needs resolvconf or networkd";
} }
]; ];
environment.etc."ppp/ip-up".source = pkgs.writeDash "ppp.ip-up" '' environment.etc."ppp/ip-up".source = pkgs.writeDash "ppp.ip-up" ''