aboutsummaryrefslogtreecommitdiff
path: root/hosts/tahoe/services.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-02-28 18:57:45 -0800
committerFranck Cuny <franck@fcuny.net>2023-03-02 19:38:56 -0800
commit202376c7a0f4804f31afce52b5c79a776340467d (patch)
treefbfcb042fdb9ce57b2903ad58cb59cd42732c53d /hosts/tahoe/services.nix
parentfix(home/age): use `rage' for `passage' (diff)
downloadinfra-202376c7a0f4804f31afce52b5c79a776340467d.tar.gz
feat(hosts/tahoe): install gitolite and cgit
Replace gitea with gitolite + cgit. I don't need a whole git forge for myself, especially since I don't use most of the features. The main thing I'm losing with this change is CI (via drone), but this is not really a big loss for now.
Diffstat (limited to 'hosts/tahoe/services.nix')
-rw-r--r--hosts/tahoe/services.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index 3c47417..f4c8e95 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -21,20 +21,17 @@ in
enable = true;
vhostName = "unifi.fcuny.xyz";
};
- gitea = {
+ prometheus = { enable = true; };
+ grafana = {
enable = true;
- stateDir = "/var/lib/gitea";
+ vhostName = "dash.fcuny.xyz";
};
- drone = {
+ cgit = {
enable = true;
- vhostName = "ci.fcuny.net";
- runners = [ "docker" "exec" ];
- sharedSecretFile = secrets."drone/secrets".path;
};
- prometheus = { enable = true; };
- grafana = {
+ gitolite = {
enable = true;
- vhostName = "dash.fcuny.xyz";
+ stateDir = "/var/lib/gitolite";
};
rclone = { enable = true; };
nginx = { enable = true; };