-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/forgejo: init #210790
nixos/forgejo: init #210790
Conversation
If anybody wants to be added as a maintainer to this, please let me know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep this in the gitea module for now. The two programs are still almost identical right now and most of the code would be duplicated.
You can use forgejo by changing services.gitea.package
to the forgejo package and since services.gitea.settings
is freeform any new setting can be added.
This actually does not work as the gitea service is currently written since the |
Perhaps the module can be refactored to use |
Yes, that seems like a good idea. An additional option for a |
Edit: And if using |
That does seem like the way to go then. |
Yeah using |
It looks like this has been superseded by #218269. Feel free to re-open a new PR if you had any plans other than just adding |
Description of changes
Rebased #206493 to add the service using the already-merged package definition.
There are some pieces left over from the Gitea module (namely the renamed module definitions.)
These could be removed, since it is a new service, however I've gone ahead and left them in so switching from GItea -> Forgejo could just be a single rename in a user's configuration.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes