19 lines
338 B
Nix
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;
|
|
};
|
|
}
|