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": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-tsXsKNsa6/AqhXV6YxsSweX++YlwzQuWt0KeaV3SMgQ=",
|
||||
"narHash": "sha256-MxYVJSIjagI4bKi6TjWW8gF4IkCSg3R/Zjnwmza5Cfo=",
|
||||
"path": "/home/palo/dev/secrets",
|
||||
"type": "path"
|
||||
},
|
||||
|
|
|
@ -1,16 +1,24 @@
|
|||
{ 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;
|
||||
settings = {
|
||||
culture = "de";
|
||||
currency = "EUR";
|
||||
};
|
||||
hostName = "grocy.pepe.private";
|
||||
nginx.enableSSL = false;
|
||||
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;
|
||||
};
|
||||
|
||||
backup.dirs = [ config.services.grocy.dataDir ];
|
||||
sops.secrets.grocyApiKey = { };
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue