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