commit 5db9d7269e10b779757e12ec692641d9161d1f48 parent 985df8792d688de139ba092af7d28341df3da3cd Author: Daniel Barlow <dan@telent.net> Date: Tue, 6 Aug 2024 18:43:27 +0100 ppoe structured options are optional Diffstat:
| M | modules/ppp/default.nix | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/ppp/default.nix b/modules/ppp/default.nix @@ -13,7 +13,11 @@ let inherit (lib) mkOption types; inherit (pkgs) liminix; mkStringOption = - description: mkOption { type = types.str; inherit description; }; + description: mkOption { + type = types.nullOr types.str; + default = null; + inherit description; + }; in { options = { system.service.pppoe = mkOption {