add grocy scanner to pepe
This commit is contained in:
parent
100932bf48
commit
05f106e44a
2 changed files with 17 additions and 9 deletions
|
@ -62,7 +62,7 @@
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"narHash": "sha256-tsXsKNsa6/AqhXV6YxsSweX++YlwzQuWt0KeaV3SMgQ=",
|
"narHash": "sha256-MxYVJSIjagI4bKi6TjWW8gF4IkCSg3R/Zjnwmza5Cfo=",
|
||||||
"path": "/home/palo/dev/secrets",
|
"path": "/home/palo/dev/secrets",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,16 +1,24 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.grocy = {
|
#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;
|
enable = true;
|
||||||
settings = {
|
host = "https://grocy.ingolf-wagner.de";
|
||||||
culture = "de";
|
device = "/dev/input/by-id/usb-Belon.cn_2.4G_Wireless_Device_Belon_Smart-event-kbd";
|
||||||
currency = "EUR";
|
apiKeyFile = config.sops.secrets.grocyApiKey.path;
|
||||||
};
|
|
||||||
hostName = "grocy.pepe.private";
|
|
||||||
nginx.enableSSL = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
backup.dirs = [ config.services.grocy.dataDir ];
|
sops.secrets.grocyApiKey = { };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue