diff --git a/ServeNix/configuration.nix b/ServeNix/configuration.nix index 0ab2b39..522f8c4 100644 --- a/ServeNix/configuration.nix +++ b/ServeNix/configuration.nix @@ -28,6 +28,9 @@ ./services/whats-up-docker.nix ./services/wireguard-vps.nix + # Discord + ./services/heidi.nix + # MultimediArr ./services/bazarr.nix ./services/fileflows.nix diff --git a/ServeNix/services/heidi.nix b/ServeNix/services/heidi.nix new file mode 100644 index 0000000..6a175b9 --- /dev/null +++ b/ServeNix/services/heidi.nix @@ -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" + ]; + }; +}