ctucx.git: nixfiles

ctucx' nixfiles

commit d33c5f944c87f6e5c15a88d0272f418a0de0321f
parent 141e26f819f8e59f735c794dbe00b134df66afdf
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 12 May 2023 13:50:02 +0200

modules/default.nix: add new options `networking.primaryIP`, `networking.primaryIP4`, `networking.secondaryIP4`
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/default.nix b/modules/default.nix
@@ -24,6 +24,9 @@
 
   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; };
   };
 
 }