diff options
author | tv <tv@krebsco.de> | 2021-01-22 01:02:45 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-01-25 11:29:15 +0100 |
commit | 996b04e98b9553398c09a958b1dfa793708125ea (patch) | |
tree | b476b10ebbaac8273f1fffb8569b147d760064d0 /tv/2configs | |
parent | 39648cc9fdea7a334814f5651bb8f62ba7e9b907 (diff) |
tv ppp: allow networkd
Diffstat (limited to 'tv/2configs')
-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 ff61f94..c801401 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" '' |