I’ve read a lot about flakes and have the concept working on a basic system level. However, I’m struggling to understand how to incorporate flakes that represent an application.
Can someone point me to a resource or explain to me (like I’m a 5 year old), how to leverage this flake with the existing flake I have controlling my overall system? Do I extract the contents of the nix files in the report and import them into my existing flake.nix? Do I clone the report and call it from my existing flake.nix via an import (like the configuration and home manager nix files)?
While I’m interested in this particular application, I’m also trying to use it to establish a broader understanding of how to these sorts of incorporate community efforts (shared as flakes) into my systems.
you add the external repository as an input to your flake. the p81-nix repo flake exports a nixos module named perimeter81 that you can add to your configuration. something along the lines:
Thank you for the pointers. Your suggestions raise two questions.
First, the flake configuration of the repo is somewhat outdated (points to an old version of the application) so I was assuming I’d need to clone it locally to update the out of date references before pulling it into my flake.
Second, simply your suggestion I have the following flake configuration, which I was pretty sure was an inaccurate configuration of the modules line: