Closed jappeace closed 11 months ago
oh wait it's used :thinking:
then I just don't know how to use the nixos module, it doesn't explain where to get bevel-api-server from: https://github.com/NorfairKing/bevel#nixos-integration-to-run-the-server
@jappeace You use this flake output: https://github.com/NorfairKing/bevel/blob/d93e707633c0f8fe50e8f7d523036c317105b3af/flake.nix#L129
EDIT: err, I mean this one: https://github.com/NorfairKing/bevel/blob/d93e707633c0f8fe50e8f7d523036c317105b3af/flake.nix#L128C1-L128C1
could you elobrate a bit more? I'm currently calling like this:
bevel-production = (
import (
builtins.fetchGit {
url = "https://github.com/NorfairKing/bevel";
rev = "d93e707633c0f8fe50e8f7d523036c317105b3af"; # Put a recent commit hash here.
ref = "master";
} + "/nix/nixos-module.nix"
) { bevel-api-server = null; } { envname = "production"; }
);
How do I set bevel-api-server to the flake output?
@jappeace Not using flakes is not a use-case that's "officially" supported. You'll have to pass in the api server yourself if you want to do that and I'm not even sure how you would.
I'm also surprised that you are trying to set up a server. You don't need one to get started because there's community server. Of course it's a good idea for privacy reasons.
This makes it work according to the readme, soving this issue: