forgejo: converted to flake
This commit is contained in:
parent
49ac0ea8d2
commit
92736d64d6
|
@ -3,12 +3,10 @@
|
|||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
sources,
|
||||
nixpkgsUnstable,
|
||||
...
|
||||
}: let
|
||||
sources = import ../nix/sources.nix;
|
||||
unstable = import sources.nixpkgsUnstable {};
|
||||
in {
|
||||
}:
|
||||
{
|
||||
services.gitea = {
|
||||
enable = true; # Enable Forgejo
|
||||
appName = "mcwhirter.io: Forgejo Service"; # Give the site a name
|
||||
|
@ -20,7 +18,7 @@ in {
|
|||
domain = "source.mcwhirter.io"; # Domain name
|
||||
rootUrl = "https://source.mcwhirter.io/"; # Root web URL
|
||||
httpPort = 3002; # Provided unique port
|
||||
package = unstable.forgejo; # a soft fork of gitea
|
||||
package = nixpkgsUnstable.forgejo; # a soft fork of gitea
|
||||
settings = let
|
||||
docutils = pkgs.python39.withPackages (ps:
|
||||
with ps; [
|
||||
|
|
Loading…
Reference in a new issue