summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-02-08 22:30:48 -0500
committerSeth Flynn <[email protected]>2025-02-08 22:32:40 -0500
commitc168f8427c86336f143b04c65a06a7d12aa62631 (patch)
treefb53378b23265bf7f88362ac519c1d9683b859e9 /systems
parent48a2938114a1fc10971399a0c462c38f782f11ef (diff)
nixos/forgejo: actually act as a mixin
Diffstat (limited to 'systems')
-rw-r--r--systems/atlas/forgejo.nix16
1 files changed, 2 insertions, 14 deletions
diff --git a/systems/atlas/forgejo.nix b/systems/atlas/forgejo.nix
index 719ea7c..3310df1 100644
--- a/systems/atlas/forgejo.nix
+++ b/systems/atlas/forgejo.nix
@@ -1,17 +1,5 @@
-{ config, ... }:
-
-let
- forgejoCfg = config.services.forgejo;
-in
-
{
- mixins.forgejo.enable = true;
-
- services.nginx.virtualHosts = {
- "git.getchoo.com" = {
- locations."/" = {
- proxyPass = "http://unix:${forgejoCfg.settings.server.HTTP_ADDR}";
- };
- };
+ services = {
+ forgejo.enable = true;
};
}