Update Cfg and add proxy/wsl
This commit is contained in:
11
modules/shared/syscfg/extra.nix
Normal file
11
modules/shared/syscfg/extra.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ lib,... }:
|
||||
with lib; {
|
||||
wsl = mkOption { type = types.bool; default = false; };
|
||||
hosts = mkOption { type = types.listOf (types.str); default = []; };
|
||||
proxy = {
|
||||
domain = mkOption { type = types.str; default = ""; };
|
||||
port = mkOption { type = types.str; default = ""; };
|
||||
noProxy = mkOption { type = types.str; default = ""; };
|
||||
cert = mkOption { type = types.path; default = null; };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user