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

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