Merge pull request #310 from vorburger/patch-1

docs: Clarify internal vs. external import in template
This commit is contained in:
Robert Hensing 2025-10-18 20:48:31 +02:00 committed by GitHub
commit 4e627ac2e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,10 +9,11 @@
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
# To import a flake module
# 1. Add foo to inputs
# 2. Add foo as a parameter to the outputs function
# 3. Add here: foo.flakeModule
# To import an internal flake module: ./other.nix
# To import an external flake module:
# 1. Add foo to inputs
# 2. Add foo as a parameter to the outputs function
# 3. Add here: foo.flakeModule
];
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];