mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
mealie init
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
../../server-modules/adguardhome.nix
|
../../server-modules/adguardhome.nix
|
||||||
../../server-modules/hoarder.nix
|
../../server-modules/hoarder.nix
|
||||||
../../server-modules/arr.nix
|
../../server-modules/arr.nix
|
||||||
|
../../server-modules/mealie.nix
|
||||||
|
|
||||||
# You should let those lines as is
|
# You should let those lines as is
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|||||||
18
server-modules/mealie.nix
Normal file
18
server-modules/mealie.nix
Normal 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}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user