zwave as not root

This commit is contained in:
Chris Dombroski 2024-10-01 19:22:45 -04:00
parent 57eb8d23c6
commit 390c62d7a4

View file

@ -10,7 +10,10 @@
name = "my-zwave-js-ui";
tag = "latest";
contents = [ pkgs.cacert ];
config.Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
config = {
Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
User = "1100:166";
};
};
volumes = [ "zwave-config:/usr/src/app/store" ];
environment = {