From 5b529e26c5c56d199a921dac656b126ab452ed23 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Wed, 16 Oct 2024 23:38:26 +0900 Subject: [PATCH] Install Forgejo on NixOS --- nixos/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 4ee8ca7b..d10ef3a7 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -93,6 +93,11 @@ package = edge-pkgs.cloudflare-warp; }; + # https://nixos.org/manual/nixos/stable/options#opt-services.forgejo.enable + services.forgejo = { + enable = true; + }; + environment.variables = { EDITOR = lib.getExe pkgs.helix; SYSTEMD_EDITOR = lib.getExe pkgs.helix;