content

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-lts instead, but when I try running forgejo it says that it can't find the command.
  • I find out by running echo $PATH that the binary in the Nix store directory for Forgejo is actually still gitea -- 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 --update to update the channel
  • When I ran nix-shell -p forgejo-lts, it ran the newest version 15.0.11

meta

created:

backlinks: t/suki logs

commit: e30545a6