Skip to content

Commit 33e4f28

Browse files
committed
update glitchtip
1 parent 19b2aa7 commit 33e4f28

3 files changed

Lines changed: 32 additions & 2 deletions

File tree

flake.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
inputs = {
33
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
44
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
5+
nixpkgs-glitchtip.url = "github:NixOS/nixpkgs/pull/497264/merge";
56
deploy-sh.url = "git+https://radicle.defelo.de/z392ZFR7AcScpaQqmTKUDkDj9FWMq.git";
67
sops-nix.url = "github:Mic92/sops-nix";
78
nfnix = {

hosts/prod/glitchtip.nix

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,32 @@
1-
{ config, env, ... }:
1+
{
2+
config,
3+
env,
4+
nixpkgs-glitchtip,
5+
pkgs-glitchtip,
6+
...
7+
}:
28

39
let
410
port = 8100;
511
domain = "glitchtip.bootstrap.academy";
612
in
713

814
{
15+
disabledModules = [ "services/web-apps/glitchtip.nix" ];
16+
imports = [ "${nixpkgs-glitchtip}/nixos/modules/services/web-apps/glitchtip.nix" ];
17+
18+
nixpkgs.overlays = [ (final: prev: { inherit (pkgs-glitchtip) glitchtip; }) ];
19+
920
services.glitchtip = {
1021
enable = true;
11-
inherit port;
1222
environmentFiles = [ config.sops.templates."glitchtip/environment".path ];
1323
settings = {
24+
GRANIAN_PORT = port;
1425
GLITCHTIP_DOMAIN = "https://${domain}";
1526
DEFAULT_FROM_EMAIL = "glitchtip@the-morpheus.de";
1627
ENABLE_USER_REGISTRATION = false;
1728
ENABLE_ORGANIZATION_CREATION = false;
29+
GLITCHTIP_UPTIME_ALLOW_PRIVATE_IPS = true;
1830
};
1931
};
2032

0 commit comments

Comments
 (0)