nixos-config/nixos/machines/cream/scanner.nix

10 lines
286 B
Nix
Raw Normal View History

2023-02-13 18:40:56 +01:00
{ 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");
};
}