summaryrefslogtreecommitdiff
path: root/ilex
diff options
context:
space:
mode:
authorstuebinm2023-03-22 18:34:32 +0100
committerstuebinm2023-03-22 18:34:32 +0100
commit7c4ce3a545fb74ab1eb35c02de9ace3c3dbae2ef (patch)
tree12d6716773e7fe89f43701f39de0dd145e6a263e /ilex
parent50f74d35e73529e67a27cee7fcd36e18a6d92e3a (diff)
a glitchtip module, because why not
in case i ever think i need such a thing, i guess
Diffstat (limited to 'ilex')
-rw-r--r--ilex/configuration.nix20
1 files changed, 8 insertions, 12 deletions
diff --git a/ilex/configuration.nix b/ilex/configuration.nix
index 2b07092..ec1f856 100644
--- a/ilex/configuration.nix
+++ b/ilex/configuration.nix
@@ -7,6 +7,7 @@
{
imports = [
./hardware-configuration.nix
+ ../modules/glitchtip.nix
];
networking.firewall.allowedTCPPorts = [ 5000 ];
@@ -52,22 +53,17 @@
'';
};
- services.uwsgi = {
+ services.glitchtip = {
enable = true;
- plugins = [ "python3" ];
- instance = {
- type = "normal";
- pythonPackages = self: [ pkgs.glitchtip ];
- module = "glitchtip.wsgi:application";
- chdir = pkgs.glitchtip;
- http = ":8080";
- env = [
- "DATABASE_URL=postgres://glitchtrip@localhost:5432/glitchtrip"
- ];
- };
+ databaseUrl = "postgres://glitchtrip@localhost:5432/glitchtrip";
+ };
+ services.redis.servers.glitchtip = {
+ enable = true;
+ port = 6379;
};
+
services.tlp = {
enable = true;
settings = {