Add modules/shared/syscfg/net.nix
This commit is contained in:
14
modules/shared/syscfg/net.nix
Normal file
14
modules/shared/syscfg/net.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{ lib,... }:
|
||||||
|
with lib; {
|
||||||
|
ble.enable = mkOption { type = types.bool; default = false; };
|
||||||
|
wlp = {
|
||||||
|
enable = mkOption { type = types.bool; default = false; };
|
||||||
|
nif = mkOption { type = types.str; default = ""; };
|
||||||
|
};
|
||||||
|
wg = {
|
||||||
|
enable = mkOption { type = types.bool; default = false; };
|
||||||
|
ip4 = mkOption { type = types.str; default = ""; };
|
||||||
|
ip6 = mkOption { type = types.str; default = ""; };
|
||||||
|
pubkey = mkOption { type = types.str; default = ""; };
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user