nixos-config/nixos/configs/pepe/grocy.nix

25 lines
554 B
Nix
Raw Normal View History

2021-10-13 20:55:57 +02:00
{ config, lib, pkgs, ... }:
{
2021-11-11 21:06:46 +01:00
#services.grocy = {
# enable = true;
# settings = {
# culture = "de";
# currency = "EUR";
# };
# hostName = "grocy.pepe.private";
# nginx.enableSSL = false;
#};
#backup.dirs = [ config.services.grocy.dataDir ];
services.grocy-scanner = {
2021-10-13 20:55:57 +02:00
enable = true;
2021-11-11 21:06:46 +01:00
host = "https://grocy.ingolf-wagner.de";
device = "/dev/input/by-id/usb-Belon.cn_2.4G_Wireless_Device_Belon_Smart-event-kbd";
apiKeyFile = config.sops.secrets.grocyApiKey.path;
2021-10-13 20:55:57 +02:00
};
2021-11-11 21:06:46 +01:00
sops.secrets.grocyApiKey = { };
2021-10-13 20:55:57 +02:00
}