Skip to content

Commit

Permalink
Install Forgejo on NixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Oct 16, 2024
1 parent cdf510b commit 5b529e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5b529e2

Please sign in to comment.