refactor: use flake package directly in NixOS module
Instead of requiring users to provide the package via overlay, the module now receives `self` from the flake and uses the package directly from `self.packages`. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -198,7 +198,7 @@ Add the module to your NixOS configuration:
|
||||
| Option | Type | Default | Description |
|
||||
|--------|------|---------|-------------|
|
||||
| `enable` | bool | `false` | Enable the listener service |
|
||||
| `package` | package | `pkgs.homelab-deploy` | Package to use |
|
||||
| `package` | package | from flake | Package to use |
|
||||
| `hostname` | string | `config.networking.hostName` | Hostname for subject templates |
|
||||
| `tier` | enum | required | `"test"` or `"prod"` |
|
||||
| `role` | string | `null` | Role for role-based targeting |
|
||||
|
||||
Reference in New Issue
Block a user