diff options
author | lassulus <lassulus@lassul.us> | 2021-02-03 23:18:38 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-02-03 23:18:38 +0100 |
commit | 0a53ef2a0d06bf347a24eb86132068289568e79c (patch) | |
tree | 923f3736a760190dcb79fea18be670062a822bad /tv/2configs/ppp.nix | |
parent | 5d4e3a953e2c1f8a6c606640f7e8a94e4f64133d (diff) | |
parent | 61aebc5adcab3a174a6e27686c0c8fc7f65df513 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/ppp.nix')
-rw-r--r-- | tv/2configs/ppp.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tv/2configs/ppp.nix b/tv/2configs/ppp.nix index ff61f943f..c801401b2 100644 --- a/tv/2configs/ppp.nix +++ b/tv/2configs/ppp.nix @@ -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" '' |