summaryrefslogtreecommitdiff
path: root/nixos/hosts/bin
diff options
context:
space:
mode:
authorcaley <195605706+cqley@users.noreply.github.com>2026-07-18 01:27:49 +0200
committerGitHub <noreply@github.com>2026-07-18 01:27:49 +0200
commit60a261dda6af404b2b81555c1e5ff68f67745ee6 (patch)
tree5b539c24cf28bf330f4369442f7553f871d42bcd /nixos/hosts/bin
parent44858f5a019819f363441c947312113fc429b034 (diff)
Update configuration.nix
Diffstat (limited to 'nixos/hosts/bin')
-rw-r--r--nixos/hosts/bin/configuration.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixos/hosts/bin/configuration.nix b/nixos/hosts/bin/configuration.nix
index 30514af..d807cc8 100644
--- a/nixos/hosts/bin/configuration.nix
+++ b/nixos/hosts/bin/configuration.nix
@@ -111,6 +111,31 @@
};
};
+ services.cgit.blind = {
+ enable = true;
+ scanPath = "/srv/git";
+ nginx.virtualHost = "5.231.118.254";
+ gitHttpBackend = {
+ enable = true;
+ checkExportOkFiles = false;
+ };
+ settings = {
+ root-title = "blind";
+ root-desc = "";
+ enable-index-owner = 0;
+ enable-commit-graph = 1;
+ enable-log-filecount = 1;
+ enable-log-linecount = 1;
+ clone-prefix = "http://5.231.118.254";
+ };
+ };
+
+ services.nginx = {
+ enable = true;
+ virtualHosts."5.231.118.254" = {
+ };
+ };
+
systemd.services.pocketbase = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];