Repository navigation
nixos/pelican-panel: init, nixos/tests/pelican-panel: init, nixos/pelican-wings: init, pelican-panel: init at 1.0.0-beta38, pelican-wings: init at 1.0.0-beta29 - #524420
Conversation
ff3070d to
2896c98
Compare
|
Reopening to fix CI. |
felbinger
left a comment
There was a problem hiding this comment.
run nixfmt / treefmt on your changes to fix linting issues, reported by ci
2896c98 to
22685ff
Compare
22685ff to
333850e
Compare
acbe3c8 to
d916697
Compare
|
No idea why CI is failing now? Gonna try reopening |
|
Okay, I got the wings running and almost everything seems to work, uploading files (surprisingly) works, creating a server works, running it works, the console works, the stats work, and connecting and playing on it works.
Aug 15 02:29:28 hostname wings[4036693]: WARN: [Aug 15 02:29:28.449] Error response from Panel: HttpForbiddenException: Authorization credentials were not correct, please try again. (HTTP/403) ip=localaddress:37288 subsystem=sftp username=nullcube.0fef47d0
Aug 15 02:29:28 hostname wings[4036693]: WARN: [Aug 15 02:29:28.450] failed to validate user credentials (invalid username or password) ip=localaddress:37288 method=public_key subsystem=sftp username=nullcube.0fef47d0
Nevermind, I figured I should try a different SFTP client, and it works fine with FileZilla, I was just using Dolphin previously, I should have known better. Oops. I've never had that problem before though, so maybe the wings are just extra sensitive. |
|
I've addressed all your comments. Regarding the setup: I think it's best if the user just creates the first admin using the CLI, I've added |
I still don't think it shouldn't be required, for a few reasons:
|
nullcubee
left a comment
There was a problem hiding this comment.
Okay, hopefully this is my last review cycle, everything else looks good to me! Sorry about pestering you so much with reviews and comments lol
|
Regarding the secrets: some services do require it (onlyoffice, nextcloud) and I think it's a good idea. If the user wants them to be world-readable, they can just use writeText to write the secrets into the store and replace it with a path outside the store later on |
|
sorry for the delay, I guess I accidentally lied lol, I was reading over the documentation again, and have some more changes I wanted to make, but I went ahead and made them on my own branch since they were a lot more extensive/specific: oskardotglobal/nixpkgs@nixos/pelican-module...nullcubee:nixpkgs:nixos/pelican-module Feel free to edit as you see fit EDIT: Changed a bit of the documentation around, since plugins stopped being able to be installed at all somewhere along my testing. EDIT 2: Actually I might have figured out how to make plugins work inside the panel, but I might want to work on that in a separate PR anyways...? EDIT 3: yeah idk if the plugins actually work, I'll just work on the plugins in a new PR. |
There was a problem hiding this comment.
I went ahead and added all the module (and test/package) changes I wanted to make here, just for easier review and discussion. The main thing I realized was that the APP_URL was forced to be https, and that you were forced to set the domain option in the first place.
You don't technically need a domain for a minimal installation, and setting one just causes the panel to try to redirect you to said domain, regardless if it's reachable or not. Having APP_URL be empty seems to disable this behavior, so you can access the panel via the server's local IP. This allows it to be used easier with like, tailscale, on a local network, or for testing.
Maybe this option should also be renamed to url with this change, I'm not sure.
I also have documentation changes I'd like to make, but those are linked in my last comment already.
|
I've updated the docs and pulled in your changes, good work; I've kept the option name as |
nullcubee
left a comment
There was a problem hiding this comment.
Everything looks good to me! Thank you!
|
Thanks to you for helping with this PR! |
|
Hi, any clues how long this will take to get merged? |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/7667 |
There was a problem hiding this comment.
Thanks for contributing to the documentation
Make sure you follow the documentation style guide, most notably:
- Show, don't tell: lead with a minimal working example; explanation follows the code.
- No meta-commentary: don't write "This section explains how to…", just do it.
- Imperative mood and active voice: "Run the command", not "The user should run the following command".
- Present tense: "This creates a folder", not "This will create a folder".
- Be confident: no hedging with "should", "might", "typically", "usually".
- Cut filler words: "simply", "just", "easily", "basically"; "to", not "in order to".
For larger changes, like adding or removing whole sections, ask the NixOS documentation team for a review.
Co-authored-by: NullCube <nullcub3@gmail.com>
Co-authored-by: NullCube <nullcub3@gmail.com>
This PR adds a NixOS module for https://pelican.dev, including a module for their Wings control plane and packages for both. I have been running this very module on a handful of servers for a few months now.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.