feat(nixos): add SpotyBooty service with Discord token support
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
./atuin.nix
|
||||
./authelia.nix
|
||||
./caddy.nix
|
||||
./excalidraw.nix
|
||||
./fail2ban.nix
|
||||
./flaresolverr.nix
|
||||
./gitea.nix
|
||||
@@ -11,14 +12,13 @@
|
||||
./llama.nix
|
||||
./lldap.nix
|
||||
./minecraft.nix
|
||||
|
||||
./nextcloud.nix
|
||||
# ./paperless.nix
|
||||
./prowlarr.nix
|
||||
./resolved.nix
|
||||
./searxng.nix
|
||||
./sigmabot.nix
|
||||
./tailscale.nix
|
||||
./excalidraw.nix
|
||||
# ./paperless.nix
|
||||
];
|
||||
services = {
|
||||
nix-serve = {
|
||||
|
||||
18
nixos/mirai/services/sigmabot.nix
Normal file
18
nixos/mirai/services/sigmabot.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.spotybooty.nixosModules.default
|
||||
];
|
||||
sops = {
|
||||
secrets."discord/token".owner = config.services.spotybooty.user;
|
||||
};
|
||||
services.spotybooty = {
|
||||
enable = true;
|
||||
logLevel = "info";
|
||||
tokenFile = config.sops.secrets."discord/token".path;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user