update instructions
This commit is contained in:
parent
0ae67a9897
commit
a45bec91f6
1 changed files with 29 additions and 15 deletions
30
README.md
30
README.md
|
|
@ -93,26 +93,40 @@ Nyx-Tools
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
nyx.nyx-rebuild = {
|
nyx = {
|
||||||
|
# Global settings
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit username nixDirectory;
|
username = username;
|
||||||
|
nixDirectory = nixDirectory;
|
||||||
|
logDir = "${nixDirectory}/Logs";
|
||||||
|
autoPush = true;
|
||||||
|
|
||||||
|
# Tool-specific settings
|
||||||
|
nyx-rebuild = {
|
||||||
|
enable = true;
|
||||||
|
formatter = "alejandra";
|
||||||
|
enableFormatting = false;
|
||||||
|
editor = "nvim";
|
||||||
|
startEditor = false;
|
||||||
|
enableAlias = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
nyx.nyx-cleanup = {
|
nyx-cleanup = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit username nixDirectory;
|
keepGenerations = 5;
|
||||||
|
enableAlias = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
nyx.nyx-tool = {
|
nyx-tool = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit nixDirectory;
|
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
> ⚠️ **Note**: `nixDirectory` must be a **full path** to your flake repo (e.g., `/home/${username}/NixOS/Nyx-Tools`).
|
> ⚠️ **Note**: `nixDirectory` must be a **full path** to your flake repo (e.g., `/home/${username}/NixOS/Nyx-Tools`).
|
||||||
|
|
||||||
See `./other/example/home.nix` for a working example.
|
See `other/example/example-home.nix` for a working example.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue