feat(nixos): add SpotyBooty service with Discord token support
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s

This commit is contained in:
uttarayan21
2025-08-25 01:52:53 +05:30
parent a74e6a6365
commit 40bdd383a0
7 changed files with 185 additions and 30 deletions

View File

@@ -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 = {

View 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;
};
}