update instructions

This commit is contained in:
Peritia 2025-08-08 13:41:45 +02:00
parent 0ae67a9897
commit a45bec91f6

View file

@ -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.
--- ---