-6
nix/modules/appview.nix
-6
nix/modules/appview.nix
···
22
default = 3000;
23
description = "Port to run the appview on";
24
};
25
-
cookie_secret = mkOption {
26
-
type = types.str;
27
-
default = "00000000000000000000000000000000";
28
-
description = "Cookie secret";
29
-
};
30
environmentFile = mkOption {
31
type = with types; nullOr path;
32
default = null;
···
57
58
environment = {
59
TANGLED_DB_PATH = "appview.db";
60
-
TANGLED_COOKIE_SECRET = cfg.cookie_secret;
61
};
62
};
63
};