nixos/node-red: fix cfg.package default value

This fixes the following eval error:

```
error: nodePackages.node-red cannot be found in pkgs
```

when having `services.node-red.enable = true;` without specifying
`services.node-red.package`, just like the nixos VM test.

Follow-up of f509382c11, which attempted
to fix this as well.

Breakage introduced in 0a37316d6c.
This commit is contained in:
emilylange 2023-12-14 23:19:25 +01:00
parent 58e9a35d19
commit 22bbd1834e
No known key found for this signature in database
GPG key ID: 0AD773CE46FD0F87

View file

@ -19,7 +19,7 @@ in
options.services.node-red = {
enable = mkEnableOption (lib.mdDoc "the Node-RED service");
package = mkPackageOption pkgs "nodePackages.node-red" { };
package = mkPackageOption pkgs.nodePackages "node-red" { };
openFirewall = mkOption {
type = types.bool;