Files
dotfiles/nixos/mirai/services/sigmabot.nix
uttarayan21 40bdd383a0
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s
feat(nixos): add SpotyBooty service with Discord token support
2025-08-25 01:52:53 +05:30

19 lines
338 B
Nix

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