mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-22 04:51:29 +02:00
fix: typo
This commit is contained in:
parent
7dbaf87908
commit
a9140f41ec
@ -59,9 +59,7 @@ You can write your own overlays following this example. Import the configuration
|
|||||||
|
|
||||||
In the previous example, all overlays were written in a single Nix file, which can become difficult to maintain over time. To address this, we can manage overlays in a modular way.
|
In the previous example, all overlays were written in a single Nix file, which can become difficult to maintain over time. To address this, we can manage overlays in a modular way.
|
||||||
|
|
||||||
Start by creating an `overlays` folder in your
|
Start by creating an `overlays` folder in your Git repository to store all overlay configurations. Inside this folder, create a `default.nix` file with the following content:
|
||||||
|
|
||||||
Git repository to store all overlay configurations. Inside this folder, create a `default.nix` file with the following content:
|
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
# import all nix files in the current folder, and execute them with args as parameters
|
# import all nix files in the current folder, and execute them with args as parameters
|
||||||
@ -160,4 +158,4 @@ By using this modular approach, you can conveniently organize and manage your ov
|
|||||||
└── README.md
|
└── README.md
|
||||||
```
|
```
|
||||||
|
|
||||||
This modular approach simplifies the management of overlays and allows you to easily add, modify, or remove overlays as needed.
|
This modular approach simplifies the management of overlays and allows you to easily add, modify, or remove overlays as needed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user