This commit is contained in:
@ -13,6 +13,12 @@ let
|
||||
};
|
||||
};
|
||||
netOpt = with lib; {
|
||||
ble = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
wlp = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
@ -65,16 +71,28 @@ let
|
||||
};
|
||||
};
|
||||
serverOpt = with lib; {
|
||||
hostDomain = mkOption {type = types.str;};
|
||||
mailDomain = mkOption {type = types.str;};
|
||||
mailServer = mkOption {type = types.str;};
|
||||
hostDomain = mkOption { type = types.str; };
|
||||
mailDomain = mkOption { type = types.str; };
|
||||
mailServer = mkOption { type = types.str; };
|
||||
|
||||
dbHost = mkOption {type = types.str; default = "localhost";};
|
||||
dbPort = mkOption {type = types.str; default = "3306";};
|
||||
dbHost = mkOption {
|
||||
type = types.str;
|
||||
default = "localhost";
|
||||
};
|
||||
dbPort = mkOption {
|
||||
type = types.str;
|
||||
default = "3306";
|
||||
};
|
||||
|
||||
configPath = mkOption {
|
||||
type = types.str;
|
||||
default = "/media/config";
|
||||
};
|
||||
dataPath = mkOption {
|
||||
type = types.str;
|
||||
default = "/media/data";
|
||||
};
|
||||
|
||||
configPath = mkOption {type=types.str; default= "/media/config";};
|
||||
dataPath = mkOption {type=types.str; default= "/media/data";};
|
||||
|
||||
};
|
||||
in with lib; {
|
||||
options.usercfg = userOpt;
|
||||
|
Reference in New Issue
Block a user