diff options
| author | Seth Flynn <[email protected]> | 2025-02-08 22:30:48 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-08 22:32:40 -0500 |
| commit | c168f8427c86336f143b04c65a06a7d12aa62631 (patch) | |
| tree | fb53378b23265bf7f88362ac519c1d9683b859e9 /systems | |
| parent | 48a2938114a1fc10971399a0c462c38f782f11ef (diff) | |
nixos/forgejo: actually act as a mixin
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/forgejo.nix | 16 |
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; }; } |
