services.zwave-js.secretsConfigFile

NixOS option

JSON file containing secret keys. A dummy example: { "securityKeys": { "S0_Legacy": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "S2_Unauthenticated": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "S2_Authenticated": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "S2_AccessControl": "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD" } } See https://zwave-js.github.io/node-zwave-js/#/getting-started/security-s2 for details. This file will be merged with the module-generated config file (taking precedence). Z-Wave keys can be generated with: < /dev/urandom tr -dc A-F0-9 | head -c32 ;echo A file in the nix store should not be used since it will be readable to all users.

type: absolute path
Example
"/secrets/zwave-js-keys.json"
declared in: nixos/modules/services/home-automation/zwave-js.nixView source on NixOS/nixpkgs →