1

Compare commits

...

2 Commits

Author SHA1 Message Date
fdd52d91ae Add heidi discord bot service 2023-11-21 20:40:29 +01:00
d93133419f Ignore discord token 2023-11-21 20:40:22 +01:00
3 changed files with 29 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
*.password
ServeNix/services/heidi.discord_token

View File

@ -28,6 +28,9 @@
./services/whats-up-docker.nix
./services/wireguard-vps.nix
# Discord
./services/heidi.nix
# MultimediArr
./services/bazarr.nix
./services/fileflows.nix

View File

@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.heidi = {
image = "gitea.vps.chriphost.de/christoph/discord-heidi:latest";
autoStart = true;
dependsOn = [];
ports = [];
volumes = [];
environment = {
DISCORD_TOKEN = (builtins.readFile ./heidi.discord_token);
};
extraOptions = [
"--net=behind-nginx"
];
};
}