tv ppp: allow networkd

This commit is contained in:
tv 2021-01-22 01:02:45 +01:00
parent a0ca091cbf
commit 88c6558935
1 changed files with 4 additions and 2 deletions

View File

@ -8,8 +8,10 @@
in {
assertions = [
{
assertion = config.networking.resolvconf.enable;
message = "ppp configuration needs resolvconf";
assertion =
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" ''