10 lines
286 B
Nix
10 lines
286 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
services.grocy-scanner = {
|
||
|
enable = true;
|
||
|
host = "https://grocy.ingolf-wagner.de";
|
||
|
device = "/dev/input/by-id/usb-Belon.cn_2.4G_Wireless_Device_Belon_Smart-event-kbd";
|
||
|
apiKeyFile = toString (pkgs.writeText "key" "my-api-key-not");
|
||
|
};
|
||
|
}
|