tv ppp: allow networkd
This commit is contained in:
parent
a0ca091cbf
commit
88c6558935
@ -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" ''
|
||||
|
Loading…
Reference in New Issue
Block a user