commit 06f8e394800eebe2e4dfdd9e53ba47291f9b1d21
parent bbd844e1e78d0f5437b0f4074e7dfbc36a331db8
Author: Leah (ctucx) <git@ctu.cx>
Date: Sat, 16 Mar 2024 12:06:53 +0100
parent bbd844e1e78d0f5437b0f4074e7dfbc36a331db8
Author: Leah (ctucx) <git@ctu.cx>
Date: Sat, 16 Mar 2024 12:06:53 +0100
modules: set default values for networking options
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/default.nix b/modules/default.nix @@ -37,10 +37,10 @@ ]); options = { - networking.usePBBUplink = lib.mkOption { type = lib.types.bool; }; - networking.primaryIP = lib.mkOption { type = lib.types.str; }; - networking.primaryIP4 = lib.mkOption { type = lib.types.str; }; - networking.secondaryIP4 = lib.mkOption { type = lib.types.str; }; + networking.usePBBUplink = lib.mkOption { type = lib.types.bool; default = false; }; + networking.primaryIP = lib.mkOption { type = lib.types.str; default = ""; }; + networking.primaryIP4 = lib.mkOption { type = lib.types.str; default = ""; }; + networking.secondaryIP4 = lib.mkOption { type = lib.types.str; default = ""; }; }; }