forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

nix/modules: remove cookie secret from appview module

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>

anirudh.fi 5b600825 46c6be46

verified
Changed files
-6
nix
modules
-6
nix/modules/appview.nix
···
default = 3000;
description = "Port to run the appview on";
};
-
cookie_secret = mkOption {
-
type = types.str;
-
default = "00000000000000000000000000000000";
-
description = "Cookie secret";
-
};
environmentFile = mkOption {
type = with types; nullOr path;
default = null;
···
environment = {
TANGLED_DB_PATH = "appview.db";
-
TANGLED_COOKIE_SECRET = cfg.cookie_secret;
};
};
};