Skip to content

robbevp/glitchtip-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Glitchtip flake

A flake to easily deploy glitchtip on nixos.

How to use

If you have your system set up with flakes, you can add Glitchtip as a service to your system flake:

{
  # add this flake as an input
  inputs.glitchtip = {
    url = "github:robbevp/glitchtip-flake";
    inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = { self, nixpkgs, glitchtip }: {
    # change `yourhostname` to your actual hostname
    nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
      # change to your system:
      system = "x86_64-linux";
      modules = [
        glitchtip.nixosModule

        # your configuration
        ./configuration.nix
      ];
    };
  };
}

Next, you can enable this service as if it is a normal NixOS service:

{
  services.glitchtip = {
    enable = true;
    hostname = "glitchtip.example.com";
    defaultFromEmail = "[email protected]";
    environmentFile = "/var/lib/glitchtip/secret.env";
  };
}

About

A flake to easily deploy glitchtip on nixos.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages