24 lines
554 B
Nix
24 lines
554 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
#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 = {
|
|
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 = config.sops.secrets.grocyApiKey.path;
|
|
};
|
|
|
|
sops.secrets.grocyApiKey = { };
|
|
|
|
}
|