Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
programs.ssh: Use nullable types for optional forward attrs (#1946)
Attempting to build a flake configuration using `ssh.remoteForwards' results in evaluation errors when `port' is undefined, as `!(entry ? port)' evaluates to false. This was verified in the nix repl, and also occurs for `nix flake check'. Set optional attrs in `bindOptions' and `forwardModule' to `null' by default and adjust the assertion to check for `null' instead of attr definitions.
- Loading branch information