Move all nixos-modules to options.qois
This commit is contained in:
parent
9088ef8a04
commit
d49f58265f
10 changed files with 21 additions and 21 deletions
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.qois.luks-ssh;
|
||||
cfg = config.qois.luks-ssh;
|
||||
in
|
||||
{
|
||||
options.services.qois.luks-ssh = {
|
||||
options.qois.luks-ssh = {
|
||||
enable = mkEnableOption "luks-ssh service";
|
||||
|
||||
interface = mkOption {
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
routerCfg = config.services.qois.router;
|
||||
cfg = config.services.qois.router.dhcp;
|
||||
routerCfg = config.qois.router;
|
||||
cfg = config.qois.router.dhcp;
|
||||
in
|
||||
{
|
||||
options.services.qois.router.dhcp = {
|
||||
options.qois.router.dhcp = {
|
||||
enable = mkEnableOption "router dhcp service";
|
||||
|
||||
localDomain = mkOption {
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
routerCfg = config.services.qois.router;
|
||||
dhcpCfg = config.services.qois.router.dhcp;
|
||||
cfg = config.services.qois.router.recursiveDns;
|
||||
routerCfg = config.qois.router;
|
||||
dhcpCfg = config.qois.router.dhcp;
|
||||
cfg = config.qois.router.recursiveDns;
|
||||
in
|
||||
{
|
||||
options.services.qois.router.recursiveDns = {
|
||||
options.qois.router.recursiveDns = {
|
||||
enable = mkEnableOption "router recursive dns service";
|
||||
|
||||
networkIdIp = mkOption {
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
routerCfg = config.services.qois.router;
|
||||
cfg = config.services.qois.router.wireless;
|
||||
routerCfg = config.qois.router;
|
||||
cfg = config.qois.router.wireless;
|
||||
in
|
||||
{
|
||||
options.services.qois.router.wireless = {
|
||||
options.qois.router.wireless = {
|
||||
enable = mkEnableOption "router wireless service";
|
||||
|
||||
wleInterface24Ghz = mkOption {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.qois.router;
|
||||
cfg = config.qois.router;
|
||||
in
|
||||
{
|
||||
options.services.qois.router = {
|
||||
options.qois.router = {
|
||||
enable = mkEnableOption "router service";
|
||||
|
||||
wanInterface = mkOption {
|
||||
|
@ -51,7 +51,7 @@ in
|
|||
type = types.str;
|
||||
example = "192.168.0.1";
|
||||
description = ''
|
||||
Internal IP of router.
|
||||
Internal IP of router.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.qois.wwan;
|
||||
cfg = config.qois.wwan;
|
||||
|
||||
mbim-ip-configured = pkgs.writeScriptBin "mbim-ip-configured" (
|
||||
''
|
||||
|
@ -34,7 +34,7 @@ let
|
|||
'';
|
||||
in
|
||||
{
|
||||
options.services.qois.wwan = {
|
||||
options.qois.wwan = {
|
||||
enable = mkEnableOption "wwan client service";
|
||||
|
||||
apn = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue