litten: add mealie
This commit is contained in:
parent
0a84fd1533
commit
850a0181a1
@ -114,7 +114,6 @@ in
|
||||
groups = {
|
||||
glance = {};
|
||||
n8n = {};
|
||||
mealie = {};
|
||||
};
|
||||
users = {
|
||||
|
||||
@ -135,7 +134,6 @@ in
|
||||
"docker"
|
||||
"glance"
|
||||
"n8n"
|
||||
"mealie"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
# unstable.n8n
|
||||
@ -225,16 +223,6 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
mealie = {
|
||||
isSystemUser = true;
|
||||
group = "mealie";
|
||||
description = "Mealie service user";
|
||||
home = "/var/lib/mealie";
|
||||
createHome = true;
|
||||
packages = with pkgs; [
|
||||
unstable.mealie
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
# home-manager.users.blee = { imports = [ ./home.nix ]; };
|
||||
@ -470,6 +458,11 @@ in
|
||||
reverse_proxy http://127.0.0.1:8034
|
||||
}
|
||||
|
||||
${host_fqdn}:4435 { # mealie
|
||||
${tlsConfig}
|
||||
reverse_proxy http://127.0.0.1:8035
|
||||
}
|
||||
|
||||
:9999 {
|
||||
respond "success"
|
||||
}
|
||||
@ -487,7 +480,6 @@ in
|
||||
|
||||
tandoor-recipes = {
|
||||
enable = true;
|
||||
# address = "127.0.0.1";
|
||||
port = 8034;
|
||||
extraConfig = {
|
||||
# https://github.com/TandoorRecipes/recipes/raw/refs/heads/develop/docs/system/configuration.md
|
||||
@ -495,31 +487,20 @@ in
|
||||
ALLOWED_HOSTS = "${host_fqdn}";
|
||||
TANDOOR_PORT = "8034";
|
||||
};
|
||||
package = unstable.tandoor-recipes;
|
||||
};
|
||||
|
||||
mealie = {
|
||||
enable = true;
|
||||
port = 8035;
|
||||
listenAddress = "127.0.0.1";
|
||||
package = unstable.mealie;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
systemd = {
|
||||
|
||||
services.mealie = {
|
||||
enable = true;
|
||||
description = "Mealie";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
User = "mealie";
|
||||
Group = "mealie";
|
||||
WorkingDirectory = "/var/lib/mealie";
|
||||
ExecStart = "${pkgs.mealie}/bin/mealie";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1m";
|
||||
Environment = [
|
||||
"MEALIE_PORT=8035"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
description = "n8n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user