mirror of
https://github.com/nmasur/dotfiles
synced 2026-06-03 06:03:57 +00:00
increase mealie login session
This commit is contained in:
@@ -15,6 +15,9 @@ in
|
||||
port = 9099;
|
||||
database.createLocally = true;
|
||||
listenAddress = "127.0.0.1";
|
||||
settings = {
|
||||
TOKEN_TIME = 7200; # Hours for login to last (300 days)
|
||||
};
|
||||
};
|
||||
|
||||
nmasur.presets.services.caddy.routes = [
|
||||
@@ -23,7 +26,7 @@ in
|
||||
handle = [
|
||||
{
|
||||
handler = "reverse_proxy";
|
||||
upstreams = [ { dial = "localhost:${builtins.toString config.services.mealie.port}"; } ];
|
||||
upstreams = [ { dial = "localhost:${toString config.services.mealie.port}"; } ];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
+3
-3
@@ -5,12 +5,12 @@
|
||||
|
||||
let
|
||||
inherit (config.nmasur.settings) hostnames;
|
||||
cfg = config.nmasur.presets.services.stalwart-mail;
|
||||
cfg = config.nmasur.presets.services.stalwart;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
options.nmasur.presets.services.stalwart-mail = {
|
||||
options.nmasur.presets.services.stalwart = {
|
||||
enable = lib.mkEnableOption "Stalwart mail and contacts server";
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
@@ -21,7 +21,7 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
services.stalwart-mail = {
|
||||
services.stalwart = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server.listener.http = {
|
||||
Reference in New Issue
Block a user