Trying to learn how to write a Nix config to run the moonlight server, to replace the docker config.
- Ran
nix run nixpkgs#forgejo-lts, but I can't install the application because the application data path is set to the nix store folder, which is not writable. Nothing I change in the wizard fixes this problem. I'm not sure how to fix this. - Trying to run
nix-shell -p forgejo-ltsinstead, but when I try runningforgejoit says that it can't find the command. - I find out by running
echo $PATHthat the binary in the Nix store directory for Forgejo is actually stillgitea-- apparently Nix is downloading Forgejo 7.0.9, which is very old. - Nix has "channels" which essentially work like a package manager from which you ultimately end up downloading packages from. https://nixos.wiki/wiki/Nix_channels
- Apparently I'm configured to use the unstable channel
- I needed to run
nix-channel --updateto update the channel - When I ran
nix-shell -p forgejo-lts, it ran the newest version15.0.11