mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-22 21:11:26 +02:00
chore: polish
This commit is contained in:
parent
f69505e9ee
commit
3827642bf7
@ -22,8 +22,10 @@ The `inputs` section in `flake.nix` is an attribute set used to specify the depe
|
|||||||
directory-example.url = "path:/path/to/repo";
|
directory-example.url = "path:/path/to/repo";
|
||||||
|
|
||||||
# If the data source is not a flake, set flake=false.
|
# If the data source is not a flake, set flake=false.
|
||||||
# `flake=false` is usually used to include additional source code, configuration files, etc.
|
# `flake=false` is usually used to include additional source code,
|
||||||
# In Nix code, you can directly reference files within it using "${inputs.bar}/xxx/xxx" notation.
|
# configuration files, etc.
|
||||||
|
# In Nix code, you can directly reference files within
|
||||||
|
# it using "${inputs.bar}/xxx/xxx" notation.
|
||||||
# For example, import "${inputs.bar}/xxx/xxx.nix" to import a specific nix file,
|
# For example, import "${inputs.bar}/xxx/xxx.nix" to import a specific nix file,
|
||||||
# or use "${inputs.bar}/xx/xx" as a path parameter for certain options.
|
# or use "${inputs.bar}/xx/xx" as a path parameter for certain options.
|
||||||
bar = {
|
bar = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user