mealie init

Former-commit-id: bb02792bf4
This commit is contained in:
Hadi
2025-03-24 13:15:10 +01:00
parent 422e3ffaf5
commit 638e37a4b4
2 changed files with 19 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
../../server-modules/adguardhome.nix
../../server-modules/hoarder.nix
../../server-modules/arr.nix
../../server-modules/mealie.nix
# You should let those lines as is
./hardware-configuration.nix

18
server-modules/mealie.nix Normal file
View File

@@ -0,0 +1,18 @@
{ config, ... }:
let domain = "mealie.hadi.diy";
in {
services = {
mealie = {
enable = true;
port = 8092;
};
nginx.virtualHosts."${domain}" = {
useACMEHost = "hadi.diy";
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.mealie.port}";
};
};
};
}