1
0
Fork 0

ppoe structured options are optional

This commit is contained in:
Daniel Barlow 2024-08-06 18:43:27 +01:00
parent 985df8792d
commit 5db9d7269e
1 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,11 @@ let
inherit (lib) mkOption types; inherit (lib) mkOption types;
inherit (pkgs) liminix; inherit (pkgs) liminix;
mkStringOption = mkStringOption =
description: mkOption { type = types.str; inherit description; }; description: mkOption {
type = types.nullOr types.str;
default = null;
inherit description;
};
in { in {
options = { options = {
system.service.pppoe = mkOption { system.service.pppoe = mkOption {