Home

infra @7f5387e1aea27ff94094f7f25e9e40f2c11a0fc7 - refs - log -
-
https://git.jolheiser.com/infra.git
My NixOS infrastructure
infra / dragonwell / services / git-bug.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, ... }:
let
  enable = false;
  port = 2847;
in
lib.mkIf enable {
  services = {
    git-bug.bugs = {
      enable = true;
      repoDir = "/var/lib/ugit/repos/bugs.git";
      authorUser = "jolheiser";
      authorEmail = "bugs@jolheiser.com";
      authorAvatar = "https://www.libravatar.org/avatar/cc498b605dee7b6fb9e6422332691bb4";
      host = "localhost";
      inherit port;
    };
    tailproxy.bugs = {
      enable = true;
      settings = {
        hostname = "bugs";
        inherit port;
        auth-key = ""; # One-time key
      };
    };
  };
}