Grocy 2: Electric Boogaloo

This commit is contained in:
TheWanderingCrow 2025-03-23 16:56:33 -04:00
parent c0fb50ebc2
commit d0f2354950
3 changed files with 21 additions and 3 deletions

View file

@ -46,6 +46,7 @@ lib.mkIf config.user.overseer.enable {
"frigate.wanderingcrow.net" = {};
"notes.wanderingcrow.net" = {};
"grocy.wanderingcrow.net" = {};
"barcodebuddy.grocy.wanderingcrow.net" = {};
};
};
}

View file

@ -19,6 +19,9 @@ let
# trilium.nix
"/var/lib/trilium/backup"
# grocy
"/var/lib/grocy"
];
};
in

View file

@ -4,9 +4,18 @@
...
}:
lib.mkIf config.user.overseer.enable {
services.nginx.virtualHosts."grocy.wanderingcrow.net" = {
forceSSL = true;
useACMEHost = "grocy.wanderingcrow.net";
services.nginx.virtualHosts = {
"grocy.wanderingcrow.net" = {
forceSSL = true;
useACMEHost = "grocy.wanderingcrow.net";
};
"barcodebuddy.grocy.wanderingcrow.net" = {
forceSSL = true;
useACMEHost = "barcodebuddy.grocy.wanderingcrow.net";
locations."/" = {
proxyPass = "http://10.88.0.11:80";
};
};
};
services.grocy = {
@ -14,4 +23,9 @@ lib.mkIf config.user.overseer.enable {
hostName = "grocy.wanderingcrow.net";
nginx.enableSSL = false;
};
virtualisation.oci-containers.containers.barcodebuddy = {
image = "f0rc3/barcodebuddy:latest";
extraOptions = ["--ip=10.88.0.11"];
};
}