mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
hydrogen: +hoot
This commit is contained in:
parent
10933a56d2
commit
d24e098888
14 changed files with 212 additions and 24 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ modulesPath, ... }:
|
||||
{ config, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -19,4 +19,15 @@
|
|||
host all all 10.0.0.1/23 trust
|
||||
'';
|
||||
};
|
||||
|
||||
# hoot, the discord bot
|
||||
services.hoot.enable = true;
|
||||
services.hoot.environmentFile = config.age.secrets.hoot_token.path;
|
||||
services.hoot.configDir = "/var/hoot";
|
||||
|
||||
age.secrets.hoot_token = {
|
||||
owner = "hoot";
|
||||
mode = "600";
|
||||
file = ../../secrets/hoot_token.age;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue