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:
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