style(nixfmt): formatting using nixfmt cli tools
This commit is contained in:
parent
b804520f4c
commit
fbe803b928
46 changed files with 2133 additions and 1700 deletions
|
|
@ -1,84 +1,89 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
master_bot = import ./bot_discord/master.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
music_bot = import ./bot_discord/music.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
tempvoc_bot = import ./bot_discord/tempvoc.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
ada_bot = import ./bot_discord/ada.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
tut_bot = import ./bot_discord/bot_loc.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
bde_bot = import ./bot_discord/bde.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
marty_bot = import ./bot_discord/marty.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
ticket_bot = import ./bot_discord/ticket.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
cfg = config.service.bot_discord;
|
||||
master_bot = import ./bot_discord/master.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
music_bot = import ./bot_discord/music.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
tempvoc_bot = import ./bot_discord/tempvoc.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
ada_bot = import ./bot_discord/ada.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
tut_bot = import ./bot_discord/bot_loc.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
bde_bot = import ./bot_discord/bde.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
marty_bot = import ./bot_discord/marty.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
ticket_bot = import ./bot_discord/ticket.nix {
|
||||
inherit config pkgs lib;
|
||||
};
|
||||
cfg = config.service.bot_discord;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
ada_bot
|
||||
bde_bot
|
||||
tut_bot
|
||||
master_bot
|
||||
music_bot
|
||||
tempvoc_bot
|
||||
ticket_bot
|
||||
marty_bot
|
||||
];
|
||||
imports = [
|
||||
ada_bot
|
||||
bde_bot
|
||||
tut_bot
|
||||
master_bot
|
||||
music_bot
|
||||
tempvoc_bot
|
||||
ticket_bot
|
||||
marty_bot
|
||||
];
|
||||
|
||||
options.service.bot_discord = {
|
||||
master = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable master bot";
|
||||
};
|
||||
ada = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable ada bot";
|
||||
};
|
||||
tut = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "enable tut bot";
|
||||
};
|
||||
bde = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "enable bde bot";
|
||||
};
|
||||
marty = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable marty bot";
|
||||
};
|
||||
music = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable music bot";
|
||||
};
|
||||
tempvoc = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable tempvoc bot";
|
||||
};
|
||||
ticket = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable ticket bot";
|
||||
};
|
||||
};
|
||||
options.service.bot_discord = {
|
||||
master = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable master bot";
|
||||
};
|
||||
ada = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable ada bot";
|
||||
};
|
||||
tut = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "enable tut bot";
|
||||
};
|
||||
bde = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "enable bde bot";
|
||||
};
|
||||
marty = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable marty bot";
|
||||
};
|
||||
music = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable music bot";
|
||||
};
|
||||
tempvoc = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable tempvoc bot";
|
||||
};
|
||||
ticket = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable ticket bot";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue